struct

Crypto::Secret::Not

Inherits Crypto::Secret::Stateless / Crypto::Secret / Struct / Value / Object

A not very secret Secret, but fast

Suitable uses:

  • Holding decrypted data that is NOT secret

  • Verification keys that are public (use with care)

  • 0 overhead

  • Not locked in memory

  • Not access protected

  • No guard pages

  • No wiping

Constructors

new(size : Int32)
Source
new(*, references : Bytes)
Source

Instance methods

bytesize
Source
to_slice
Source
wipe

Zeroes data

Secret is unavailable (readonly/readwrite may fail) until reset

Source