Preparing search index...
The search index is not available
@hackbg/fadroma
@hackbg/fadroma
@fadroma/connect
Scrt
SecretJS
EncryptionUtilsImpl
Class EncryptionUtilsImpl
Hierarchy
EncryptionUtilsImpl
Implements
Scrt
.
SecretJS
.
EncryptionUtils
Index
Constructors
constructor
Properties
consensus
Io
Pub
Key
get
Consensus
Io
Pub
Key
privkey
pubkey
seed
url
Methods
decrypt
encrypt
get
Pubkey
get
Tx
Encryption
Key
Generate
New
Key
Pair
Generate
New
Key
Pair
From
Seed
Generate
New
Seed
Constructors
constructor
new
Encryption
Utils
Impl
(
url
:
string
, seed
?:
Uint8Array
, chainId
?:
string
)
:
Scrt
.
SecretJS
.
EncryptionUtilsImpl
Parameters
url:
string
Optional
seed:
Uint8Array
Optional
chainId:
string
Returns
Scrt
.
SecretJS
.
EncryptionUtilsImpl
Properties
Private
consensus
Io
Pub
Key
consensus
Io
Pub
Key
:
any
Private
get
Consensus
Io
Pub
Key
get
Consensus
Io
Pub
Key
:
any
Private
Readonly
privkey
privkey
:
any
Readonly
pubkey
pubkey
:
Uint8Array
Private
Readonly
seed
seed
:
any
Private
url
url
:
any
Methods
decrypt
decrypt
(
ciphertext
:
Uint8Array
, nonce
:
Uint8Array
)
:
Promise
<
Uint8Array
>
Parameters
ciphertext:
Uint8Array
nonce:
Uint8Array
Returns
Promise
<
Uint8Array
>
encrypt
encrypt
(
contractCodeHash
:
string
, msg
:
object
)
:
Promise
<
Uint8Array
>
Parameters
contractCodeHash:
string
msg:
object
Returns
Promise
<
Uint8Array
>
get
Pubkey
get
Pubkey
(
)
:
Promise
<
Uint8Array
>
Returns
Promise
<
Uint8Array
>
get
Tx
Encryption
Key
get
Tx
Encryption
Key
(
nonce
:
Uint8Array
)
:
Promise
<
Uint8Array
>
Parameters
nonce:
Uint8Array
Returns
Promise
<
Uint8Array
>
Static
Generate
New
Key
Pair
Generate
New
Key
Pair
(
)
:
{
privkey
:
Uint8Array
;
pubkey
:
Uint8Array
;
}
Returns
{
privkey
:
Uint8Array
;
pubkey
:
Uint8Array
;
}
privkey
:
Uint8Array
pubkey
:
Uint8Array
Static
Generate
New
Key
Pair
From
Seed
Generate
New
Key
Pair
From
Seed
(
seed
:
Uint8Array
)
:
{
privkey
:
Uint8Array
;
pubkey
:
Uint8Array
;
}
Parameters
seed:
Uint8Array
Returns
{
privkey
:
Uint8Array
;
pubkey
:
Uint8Array
;
}
privkey
:
Uint8Array
pubkey
:
Uint8Array
Static
Generate
New
Seed
Generate
New
Seed
(
)
:
Uint8Array
Returns
Uint8Array
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
@hackbg/fadroma
@fadroma/agent
Mocknet
bip32
bip39
colors
@fadroma/connect
Mocknet
Scrt
SecretJS
bip32
bip39
colors
@fadroma/scrt
SecretJS
@hackbg/fadroma
Mocknet
Scrt
SecretJS
bip32
bip39
colors
Encryption
Utils
Impl
constructor
consensus
Io
Pub
Key
get
Consensus
Io
Pub
Key
privkey
pubkey
seed
url
decrypt
encrypt
get
Pubkey
get
Tx
Encryption
Key
Generate
New
Key
Pair
Generate
New
Key
Pair
From
Seed
Generate
New
Seed
Generated using
TypeDoc