Copyright | (c) 2024 Auth Global |
---|---|
License | Apache2 |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Crypto.G3P.V2.Subtle
Description
Plain-old-data explicit representations of intermediate g3pHash
computations.
Synopsis
- data G3PSpark = G3PSpark {
- g3pSpark_beginKey :: !ByteString
- g3pSpark_contKey :: !ByteString
- g3pSpark_contextTags :: !(Vector ByteString)
- g3pSpark_domainTag :: !ByteString
- newtype G3PSeed = G3PSeed {}
- newtype G3PSprout = G3PSprout {}
- newtype G3PTree = G3PTree {}
- newtype G3PKey = G3PKey {}
Documentation
Represents the completion of the PBKDF2-like key stretching computation,
and ready for bcrypt. Technically, a partial evaluation at the
completion of G3Pb2 bravo
, ready for G3Pb2 charlie
.
Constructors
G3PSpark | |
Fields
|
A plain 32-byte hash that represents the completion of both phkdf and
bcrypt key stretching phases. Technically, a partial evaluation at
the completion of G3Pb2 charlie
, ready for G3Pb2 delta
.
Constructors
G3PSeed | |
Fields |
Represents a partial evaluation of G3P delta
, initialized with
the Sprout Seguid and possibly commited to part of the role argument.
This comes before the Sprout Domain Tag, and in fact can be finalized
with that parameter at any time.
Constructors
G3PSprout | |
Fields |
A plain 32-byte hash that represents the leftmost bytes of the output
hmac key. Technically, a partial evaluation ending at G3Pb2 delta
and ready for the right half of the echo key, as needed to begin the
evaluation of G3Pb2 echo
Constructors
G3PTree | |
Fields
|
A precomputed hmac key intended for use with G3Pb2 echo
. Technically,
a partial evaluation of the HMAC-SHA256 construction.
Constructors
G3PKey | |
Fields |