Search
Preparing search index...
The search index is not available
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"unkocrypto"
UnkoCrypto
Class UnkoCrypto
Hierarchy
UnkoCrypto
Index
Properties
BYTE
MASK
MAX_
BLOCKSIZE
META_
SIZE
MIN_
BLOCKSIZE
Methods
decrypt
encrypt
next
Int
Properties
Static
Private
BYTE
BYTE
:
number
= 256
Static
Private
MASK
MASK
:
number
= 255
Static
MAX_
BLOCKSIZE
MAX_
BLOCKSIZE
:
number
= 1 << 20
Static
META_
SIZE
META_
SIZE
:
number
= (32/8) + (64/8)
Static
MIN_
BLOCKSIZE
MIN_
BLOCKSIZE
:
number
= 32
Methods
Static
decrypt
decrypt
(
blockSize
:
number
, checksum
:
Checksum
, rand
:
IntRNG
, srcBuf
:
ArrayBufferLike
|
ArrayBufferView
, dstBuf
:
ArrayBufferLike
|
ArrayBufferView
)
:
number
Parameters
blockSize:
number
checksum:
Checksum
rand:
IntRNG
srcBuf:
ArrayBufferLike
|
ArrayBufferView
dstBuf:
ArrayBufferLike
|
ArrayBufferView
Returns
number
Static
encrypt
encrypt
(
blockSize
:
number
, checksum
:
Checksum
, rand
:
IntRNG
, srcBuf
:
ArrayBufferLike
|
ArrayBufferView
, dstBuf
:
ArrayBufferLike
|
ArrayBufferView
)
:
number
Parameters
blockSize:
number
checksum:
Checksum
rand:
IntRNG
srcBuf:
ArrayBufferLike
|
ArrayBufferView
dstBuf:
ArrayBufferLike
|
ArrayBufferView
Returns
number
Static
Private
next
Int
next
Int
(
rand
:
IntRNG
, bound
:
number
)
:
number
Parameters
rand:
IntRNG
bound:
number
Returns
number
Globals
"crc32"
"data-
io"
"idpwmemo"
"mt19937ar"
"unkocrypto"
Byte
Reader
Unko
Crypto
BYTE
MASK
MAX_
BLOCKSIZE
META_
SIZE
MIN_
BLOCKSIZE
decrypt
encrypt
next
Int
Unko
Crypto
Exception
Checksum
IntRNG
Generated using
TypeDoc