Update class documentation

This commit is contained in:
Didactic Drunk 2021-06-15 20:17:38 -07:00
parent eb8ca96286
commit 13b6c20e7b
3 changed files with 13 additions and 13 deletions

View File

@ -88,7 +88,7 @@ That's complicated and specific to the application. Some examples:
Not secrets:
* Digest output. Except when used for key derivation, then it's a Secret, including the Digest state
* IO::Memory or writing a file. Except when the file is a password vault, cryptocurrency wallet, encrypted mail/messages, goat porn, maybe "normal" porn, sometimes scat porn, occassionally furry, not vanilla porn
* IO::Memory or writing a file. Except when the file is a password vault, cryptocurrency wallet, encrypted mail/messages, goat porn, maybe "normal" porn, sometimes scat porn, occassionally furry, not people porn
## Why?

View File

@ -1,11 +1,11 @@
require "./stateless"
# Leaves less sh** around if you forget to wipe. A safer default for large secrets that may stress mlock limits or low confidentiality secrets.
#
# * Not locked in memory
# * Not access protected
# * No guard pages
module Crypto::Secret
# Leaves less sh** around if you forget to wipe. A safer default for large secrets that may stress mlock limits or low confidentiality secrets.
#
# * Not locked in memory
# * Not access protected
# * No guard pages
class Bidet
include Stateless

View File

@ -1,13 +1,13 @@
require "./stateless"
# A not very secret secret, but fast
#
# * 0 overhead
# * Not locked in memory
# * Not access protected
# * No guard pages
# * No wiping
module Crypto::Secret
# A not very secret `Secret`, but fast
#
# * 0 overhead
# * Not locked in memory
# * Not access protected
# * No guard pages
# * No wiping
struct Not
include Stateless