Preparing search index...
The search index is not available
Documentation
Documentation
SecretJS-ESM Docs
EncryptionUtilsImpl
Class EncryptionUtilsImpl
Implements
EncryptionUtils
Index
Constructors
constructor
Properties
pubkey
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
,
seed
?
,
chainId
?
)
:
EncryptionUtilsImpl
Parameters
url
:
string
Optional
seed
:
Uint8Array
Optional
chainId
:
string
Returns
EncryptionUtilsImpl
Properties
Readonly
pubkey
pubkey
:
Uint8Array
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
>
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
pubkey
decrypt
encrypt
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