Preparing search index...
The search index is not available
Documentation
Documentation
@fadroma/scrt
SecretJS
EncryptionUtilsImpl
Class EncryptionUtilsImpl
Implements
SecretJS
.
EncryptionUtils
Index
Constructors
constructor
Properties
consensus
Io
Pub
Key
privkey
pubkey
seed
url
Methods
decrypt
encrypt
get
Consensus
Io
Pub
Key
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
,
seed
?
,
chainId
?
)
:
SecretJS
.
EncryptionUtilsImpl
Parameters
url
:
string
Optional
seed
:
Uint8Array
Optional
chainId
:
string
Returns
SecretJS
.
EncryptionUtilsImpl
Properties
Private
consensus
Io
Pub
Key
consensus
Io
Pub
Key
:
Uint8Array
= ...
Private
Readonly
privkey
privkey
:
Uint8Array
Readonly
pubkey
pubkey
:
Uint8Array
Private
Readonly
seed
seed
:
Uint8Array
Private
url
url
:
string
Methods
decrypt
decrypt
(
ciphertext
,
nonce
)
:
Promise
<
Uint8Array
>
Parameters
ciphertext
:
Uint8Array
nonce
:
Uint8Array
Returns
Promise
<
Uint8Array
>
encrypt
encrypt
(
contractCodeHash
,
msg
)
:
Promise
<
Uint8Array
>
Parameters
contractCodeHash
:
string
msg
:
object
Returns
Promise
<
Uint8Array
>
Private
get
Consensus
Io
Pub
Key
get
Consensus
Io
Pub
Key
(
)
:
Promise
<
Uint8Array
>
Returns
Promise
<
Uint8Array
>
get
Pubkey
get
Pubkey
(
)
:
Promise
<
Uint8Array
>
Returns
Promise
<
Uint8Array
>
get
Tx
Encryption
Key
get
Tx
Encryption
Key
(
nonce
)
:
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
)
:
{
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
On This Page
constructor
consensus
Io
Pub
Key
privkey
pubkey
seed
url
decrypt
encrypt
get
Consensus
Io
Pub
Key
get
Pubkey
get
Tx
Encryption
Key
Generate
New
Key
Pair
Generate
New
Key
Pair
From
Seed
Generate
New
Seed
Documentation
@fadroma
agent
scrt
cw
oci
create
compile
devnet
@hackbg
ganesha
ensuite
cmds
conf
file
logs
oops
port
repo
CosmJS-ESM Documentation
SecretJS-ESM Docs
Loading...
Generated using
TypeDoc