View Source Mobilizon.Crypto (Mobilizon v5.0.0-beta.1)

Utility module which contains cryptography related functions.

Summary

Functions

Generate RSA 2048-bit private key.

Returns random byte sequence of the length encoded to Base64.

Functions

Link to this function

generate_rsa_2048_private_key()

View Source
@spec generate_rsa_2048_private_key() :: String.t()

Generate RSA 2048-bit private key.

@spec random_string(integer()) :: String.t()

Returns random byte sequence of the length encoded to Base64.