Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data XPrv = XPrv ! Scalar ! ChainCode
- data XPub = XPub ! PointCompressed ! ChainCode
- xprvPub :: XPrv -> ByteString
- deriveXPrv :: XPrv -> Word32 -> XPrv
- deriveXPrvHardened :: XPrv -> Word32 -> XPrv
- deriveXPub :: XPub -> Word32 -> XPub
- hInitSeed :: ByteArrayAccess seed => seed -> Context SHA512
- hFinalize :: Context SHA512 -> ( ByteString , ChainCode )
Documentation
Instances
Eq XPub Source # | |
Ord XPub Source # | |
Defined in Cardano.Crypto.Wallet.Pure |
|
Show XPub Source # | |
Generic XPub Source # | |
NFData XPub Source # | |
Defined in Cardano.Crypto.Wallet.Pure |
|
Hashable XPub Source # | |
type Rep XPub Source # | |
Defined in Cardano.Crypto.Wallet.Pure
type
Rep
XPub
=
D1
('
MetaData
"XPub" "Cardano.Crypto.Wallet.Pure" "cardano-crypto-1.1.1-AR10YQhE07qCYnMgL8MnSo" '
False
) (
C1
('
MetaCons
"XPub" '
PrefixI
'
False
) (
S1
('
MetaSel
('
Nothing
::
Maybe
Symbol
) '
NoSourceUnpackedness
'
SourceStrict
'
DecidedStrict
) (
Rec0
PointCompressed
)
:*:
S1
('
MetaSel
('
Nothing
::
Maybe
Symbol
) '
NoSourceUnpackedness
'
SourceStrict
'
DecidedStrict
) (
Rec0
ChainCode
)))
|
xprvPub :: XPrv -> ByteString Source #