Plans to add PSS as a padding algorithm?
yen936 opened this issue · 0 comments
yen936 commented
In relation to another issue I open is there any plan to add PSS
as a padding algorithm?
var padding: Padding {
switch self {
case .sha1: return .PKCS1SHA1
case .sha224: return .PKCS1SHA224
case .sha256: return .PKCS1SHA256
case .sha384: return .PKCS1SHA384
case .sha512: return .PKCS1SHA512
}
}
According to these docs:
PSS
is more complex than PKCS1 but possesses a security proof. This is the recommended padding algorithm for RSA signatures.