Search
Preparing search index...
The search index is not available
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"idpwmemo"
IDPWMemoCryptor
Class IDPWMemoCryptor
Hierarchy
IDPWMemoCryptor
Index
Constructors
constructor
Properties
cs
rand
MAX_
BLOCKSIZE
VERSION
encoder
Methods
decrypt
Repeat
V1
decrypt
V1
decrypt
V2
encrypt
Repeat
V1
encrypt
V1
encrypt
V2
check
Src
Type
encrypt
Block
Size
gen
Seed
V1
gen
Seed
V2
get
Bytes
init
Gen
Seed
Constructors
constructor
new IDPWMemo
Cryptor
(
)
:
IDPWMemoCryptor
Returns
IDPWMemoCryptor
Properties
Private
cs
cs
:
CRC32
= new CRC32()
Private
rand
rand
:
MTRandom
= new MTRandom()
Static
Private
MAX_
BLOCKSIZE
MAX_
BLOCKSIZE
:
number
= Math.min(1024, UnkoCrypto.MAX_BLOCKSIZE)
Static
Private
VERSION
VERSION
:
2
= 2
Static
Private
encoder
encoder
:
TextEncoder
= new TextEncoder()
Methods
decrypt
Repeat
V1
decrypt
Repeat
V1
(
n
:
number
, password
:
string
|
Int8Array
, src
:
ArrayBufferLike
|
ArrayBufferView
)
:
ArrayBuffer
|
null
Parameters
n:
number
password:
string
|
Int8Array
src:
ArrayBufferLike
|
ArrayBufferView
Returns
ArrayBuffer
|
null
decrypt
V1
decrypt
V1
(
password
:
string
|
Int8Array
, src
:
ArrayBufferLike
|
ArrayBufferView
)
:
ArrayBuffer
|
null
Parameters
password:
string
|
Int8Array
src:
ArrayBufferLike
|
ArrayBufferView
Returns
ArrayBuffer
|
null
decrypt
V2
decrypt
V2
(
password
:
string
|
ArrayBufferLike
|
ArrayBufferView
, src
:
ArrayBufferLike
|
ArrayBufferView
)
:
ArrayBuffer
|
null
Parameters
password:
string
|
ArrayBufferLike
|
ArrayBufferView
src:
ArrayBufferLike
|
ArrayBufferView
Returns
ArrayBuffer
|
null
encrypt
Repeat
V1
encrypt
Repeat
V1
(
n
:
number
, password
:
string
|
Int8Array
, src
:
ArrayBufferLike
|
ArrayBufferView
)
:
ArrayBuffer
Parameters
n:
number
password:
string
|
Int8Array
src:
ArrayBufferLike
|
ArrayBufferView
Returns
ArrayBuffer
encrypt
V1
encrypt
V1
(
password
:
string
|
Int8Array
, src
:
ArrayBufferLike
|
ArrayBufferView
)
:
ArrayBuffer
Parameters
password:
string
|
Int8Array
src:
ArrayBufferLike
|
ArrayBufferView
Returns
ArrayBuffer
encrypt
V2
encrypt
V2
(
password
:
string
|
ArrayBufferLike
|
ArrayBufferView
, src
:
ArrayBufferLike
|
ArrayBufferView
)
:
ArrayBuffer
Parameters
password:
string
|
ArrayBufferLike
|
ArrayBufferView
src:
ArrayBufferLike
|
ArrayBufferView
Returns
ArrayBuffer
Static
check
Src
Type
check
Src
Type
(
src
:
ArrayBufferLike
|
ArrayBufferView
)
:
number
Parameters
src:
ArrayBufferLike
|
ArrayBufferView
Returns
number
Static
Private
encrypt
Block
Size
encrypt
Block
Size
(
srclen
:
number
)
:
number
Parameters
srclen:
number
Returns
number
Static
Private
gen
Seed
V1
gen
Seed
V1
(
password
:
Int8Array
)
:
Uint32Array
Parameters
password:
Int8Array
Returns
Uint32Array
Static
Private
gen
Seed
V2
gen
Seed
V2
(
password
:
ArrayBufferLike
|
ArrayBufferView
)
:
Uint32Array
Parameters
password:
ArrayBufferLike
|
ArrayBufferView
Returns
Uint32Array
Static
get
Bytes
get
Bytes
(
s
:
string
)
:
Int8Array
Parameters
s:
string
Returns
Int8Array
Static
Private
init
Gen
Seed
init
Gen
Seed
(
size
:
number
)
:
Uint32Array
Parameters
size:
number
Returns
Uint32Array
Globals
"crc32"
"data-
io"
"idpwmemo"
"mt19937ar"
"unkocrypto"
IDPWMemo
IDPWMemo
Cryptor
constructor
cs
rand
MAX_
BLOCKSIZE
VERSION
encoder
decrypt
Repeat
V1
decrypt
V1
decrypt
V2
encrypt
Repeat
V1
encrypt
V1
encrypt
V2
check
Src
Type
encrypt
Block
Size
gen
Seed
V1
gen
Seed
V2
get
Bytes
init
Gen
Seed
IDPWMemo
Item
Memo
IDPWMemo
Item
Service
IDPWMemo
Item
Value
MTRandom
IDPWMemo
Converter
Generated using
TypeDoc