Expand description
PKCS#1 v1.5 support as described in RFC8017 ยง 8.2.
ยงUsage
Modulesยง
- implicit_
rejection ๐ - Deterministic fallback derivation from draft-irtf-cfrg-rsa-guidance-10 ยง7.1โ7.2.
- selection ๐
- Side-channel-free decoding and selection for
draft-irtf-cfrg-rsa-guidance-10ยง7.2.
Functionsยง
- non_
zero_ ๐random_ bytes - Fills the provided slice with random values, which are guaranteed to not be zero.
- pkcs1v15_
encrypt_ ๐pad - Applied the padding scheme from PKCS#1 v1.5 for encryption. The message must be no longer than the length of the public modulus minus 11 bytes.
- pkcs1v15_
generate_ ๐prefix - prefix = 0x30 <oid_len + 8 + digest_len> 0x30 <oid_len + 4> 0x06 <oid_len> oid 0x05 0x00 0x04 <digest_len>
- pkcs1v15_
sign_ ๐pad - pkcs1v15_
sign_ ๐unpad