Module rabbit_pbe

Data Types

encryption_result()

encryption_result() = {encrypted, binary()} | {plaintext, binary()}

Function Index

decrypt/5
decrypt_term/5
default_cipher/0
default_hash/0
default_iterations/0
encrypt/5
encrypt_term/5
supported_ciphers/0
supported_hashes/0

Function Details

decrypt/5

decrypt(Cipher::crypto:block_cipher(), Hash::crypto:hash_algorithms(), Iterations::pos_integer(), PassPhrase::iodata(), Encrypted::encryption_result()) -> any()

decrypt_term/5

decrypt_term(Cipher, Hash, Iterations, PassPhrase, Encrypted) -> any()

default_cipher/0

default_cipher() -> any()

default_hash/0

default_hash() -> any()

default_iterations/0

default_iterations() -> any()

encrypt/5

encrypt(Cipher::crypto:block_cipher(), Hash::crypto:hash_algorithms(), Iterations::pos_integer(), PassPhrase::iodata() | '$pending-secret', ClearText::binary()) -> encryption_result()

encrypt_term/5

encrypt_term(Cipher, Hash, Iterations, PassPhrase, Term) -> any()

supported_ciphers/0

supported_ciphers() -> any()

supported_hashes/0

supported_hashes() -> any()


Generated by EDoc