Tor Hybrid Encryption using RSA and AES.
Authors: Alexander Færøy ([email protected]
).
decrypt/2 | Decrypt a given message. |
encrypt/2 | Encrypt a given message. |
decrypt(CipherText, SecretKey) -> PlainText
CipherText = binary()
SecretKey = onion_rsa:secret_key()
PlainText = binary()
Decrypt a given message.
encrypt(PlainText, PublicKey) -> CipherText
PlainText = binary()
PublicKey = onion_rsa:public_key()
CipherText = binary()
Encrypt a given message.