g3p-hash-2.0.0.0: Global Password Prehash Protocol
Copyright(c) 2024 Auth Global
LicenseApache2
Safe HaskellSafe-Inferred
LanguageHaskell2010

Crypto.G3P.V2.Subtle

Description

Plain-old-data explicit representations of intermediate g3pHash computations.

Synopsis

Documentation

data G3PSpark Source #

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

Instances

Instances details
Eq G3PSpark Source # 
Instance details

Defined in Crypto.G3P.V2.Subtle

newtype G3PSeed Source #

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 

Instances

Instances details
Eq G3PSeed Source # 
Instance details

Defined in Crypto.G3P.V2.Subtle

Methods

(==) :: G3PSeed -> G3PSeed -> Bool #

(/=) :: G3PSeed -> G3PSeed -> Bool #

newtype G3PSprout Source #

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 

newtype G3PTree Source #

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

Instances

Instances details
Eq G3PTree Source # 
Instance details

Defined in Crypto.G3P.V2.Subtle

Methods

(==) :: G3PTree -> G3PTree -> Bool #

(/=) :: G3PTree -> G3PTree -> Bool #

newtype G3PKey Source #

A precomputed hmac key intended for use with G3Pb2 echo. Technically, a partial evaluation of the HMAC-SHA256 construction.

Constructors

G3PKey