package
0.53.1
Repository: https://github.com/shulhan/share.git
Documentation: pkg.go.dev

# Functions

DecryptOaep extend the [rsa.DecryptOAEP] to make it able to decrypt a message larger than its public modulus size.
EncryptOaep extend the [rsa.EncryptOAEP] to make it able to encrypt a message larger than its than (public modulus size - 2*hash.Size - 2).
LoadPrivateKey read and parse PEM formatted private key from file.
LoadPrivateKeyInteractive load the private key from file.

# Variables

ErrEmptyPassphrase returned when private key is encrypted and loaded interactively, using [LoadPrivateKeyInteractive], but the readed passphrase is empty.
ErrStdinPassphrase error when program cannot changes [os.Stdin] for reading passphrase in terminal.