pubkey_pbe

Functions


encode(Data::binary(), Password::string(), Cipher::string(), KeyDevParams::term()) -> binary()

decode(Data::binary(), Password::string(), Cipher::string(), KeyDevParams::term()) -> binary()

pbdkdf1(Password::string(), Salt::iodata(), Count::integer(), Acc::atom()) -> binary()

pbdkdf2(Password::string(), Salt::iodata(), Count::integer(), DerivedKeyLen::integer(), Prf::function(), PrfHash::atom(), PrfOutputLen::integer()) -> binary()

decrypt_parameters(EncryptedPrivateKeyInfo_encryptionAlgorithm::#'EncryptedPrivateKeyInfo_encryptionAlgorithm'{}) -> {Cipher::string(), #'PBES2-params'{}}