Expand description
Helper function to load a secret key from a file.
Enums§
- Errors returned by loading a [
SecretKey
], including IO errors.
Functions§
- Attempts to load a [
SecretKey
] from a specified path. If no file exists there, then it generates a secret key and stores it in the provided path. I/O errors might occur during write operations in the form of aSecretKeyError
- Convenience function to create a new random [
SecretKey
]