cryptography-kotlin
Toggle table of contents
0.5.0
common
Platform filter
common
Switch theme
cryptography-kotlin
cryptography-bigint
dev.
whyoleg.
cryptography.
bigint
Big
Int
Companion
Big
Int
As
Byte
Array
Serializer
Big
Int
As
String
Serializer
decode
To
Big
Int()
encode
To
Byte
Array()
hex
To
Big
Int()
to
Big
Int()
to
Big
Int
Or
Null()
to
Hex
String()
to
Java
Big
Integer()
to
Kotlin
Big
Int()
to
UByte()
to
UInt()
to
ULong()
to
UShort()
cryptography-core
dev.
whyoleg.
cryptography
Binary
Size
Companion
Cryptography
Algorithm
Cryptography
Algorithm
Id
Cryptography
Provider
Companion
Cryptography
Provider
Api
Cryptography
Provider
Container
Cryptography
System
Delicate
Cryptography
Api
dev.
whyoleg.
cryptography.
algorithms
AES
CBC
Companion
Key
CMAC
Companion
Key
CTR
Companion
Key
ECB
Companion
Key
GCM
Companion
Key
Iv
Authenticated
Cipher
Iv
Authenticated
Decryptor
Iv
Authenticated
Encryptor
Iv
Cipher
Iv
Decryptor
Iv
Encryptor
Key
Format
RAW
JWK
Size
Digest
EC
Curve
Companion
Key
Pair
Private
Key
Format
DER
Generic
SEC1
JWK
PEM
Generic
SEC1
RAW
Public
Key
Format
DER
JWK
PEM
RAW
Compressed
Uncompressed
ECDH
Companion
Key
Pair
Private
Key
Public
Key
ECDSA
Companion
Key
Pair
Private
Key
Public
Key
Signature
Format
RAW
DER
HKDF
Companion
HMAC
Companion
Key
Format
RAW
JWK
MD5
PBKDF2
Companion
RIPEMD160
RSA
Key
Pair
OAEP
Companion
Key
Pair
Private
Key
Public
Key
PKCS1
Companion
Key
Pair
Private
Key
Public
Key
Private
Key
Format
DER
Generic
PKCS1
JWK
PEM
Generic
PKCS1
PSS
Companion
Key
Pair
Private
Key
Public
Key
Public
Key
Format
DER
Generic
PKCS1
JWK
PEM
Generic
PKCS1
RAW
Companion
Key
Pair
Private
Key
Public
Key
SHA1
SHA224
SHA256
SHA384
SHA3_
224
SHA3_
256
SHA3_
384
SHA3_
512
SHA512
dev.
whyoleg.
cryptography.
materials.
key
Encodable
Key
Key
Key
Decoder
Key
Format
Key
Generator
dev.
whyoleg.
cryptography.
operations
Authenticated
Cipher
Authenticated
Decryptor
Authenticated
Encryptor
Cipher
Decryptor
Encryptor
Hasher
Hash
Function
Secret
Derivation
Shared
Secret
Generator
Signature
Generator
Signature
Verifier
Sign
Function
Update
Function
Verify
Function
cryptography-provider-apple
dev.
whyoleg.
cryptography.
providers.
apple
Apple
cryptography-provider-base
dev.
whyoleg.
cryptography.
providers.
base
check
Bounds()
Empty
Byte
Array
ensure
Size
Exactly()
get
Into
Byte
Array()
ref
To
U()
safe
Address
Of()
safe
Address
Of
U()
safe
Ref
To()
safe
Ref
To
U()
to
Byte
Array()
to
NSData()
use
NSData()
dev.
whyoleg.
cryptography.
providers.
base.
algorithms
Base
Aes
Implicit
Iv
Decrypt
Function
Base
Aes
Implicit
Iv
Encrypt
Function
Base
Aes
Iv
Authenticated
Cipher
Base
Aes
Iv
Authenticated
Decryptor
Base
Aes
Iv
Authenticated
Encryptor
Base
Aes
Iv
Cipher
Base
Aes
Iv
Decryptor
Base
Aes
Iv
Encryptor
Base
Hkdf
convert
Ec
Private
Key
From
Pkcs8To
Sec1()
convert
Ec
Private
Key
From
Sec1To
Pkcs8()
dev.
whyoleg.
cryptography.
providers.
base.
materials
unwrap
Pem()
unwrap
Private
Key
Info()
unwrap
Subject
Public
Key
Info()
wrap
Pem()
wrap
Private
Key
Info()
wrap
Subject
Public
Key
Info()
dev.
whyoleg.
cryptography.
providers.
base.
operations
Accumulating
Cipher
Function
Base
Authenticated
Cipher
Base
Authenticated
Decryptor
Base
Authenticated
Encryptor
Base
Cipher
Base
Cipher
Function
Base
Decryptor
Base
Encryptor
Cipher
Function
cryptography-provider-cryptokit
dev.
whyoleg.
cryptography.
providers.
cryptokit
Crypto
Kit
cryptography-provider-jdk
dev.
whyoleg.
cryptography.
providers.
jdk
Default
Jdk
Security
Provider
JDK
cryptography-provider-openssl3-api
dev.
whyoleg.
cryptography.
providers.
openssl3
Openssl3
cryptography-provider-webcrypto
dev.
whyoleg.
cryptography.
providers.
webcrypto
Web
Crypto
cryptography-random
dev.
whyoleg.
cryptography.
random
as
Cryptography
Random()
as
Secure
Random()
Cryptography
Random
Default
cryptography-serialization-asn1
dev.
whyoleg.
cryptography.
serialization.
asn1
Bit
Array
Context
Specific
Tag
Tag
Type
IMPLICIT
EXPLICIT
Der
Builder
Default
Der()
Object
Identifier
Companion
cryptography-serialization-asn1-modules
dev.
whyoleg.
cryptography.
serialization.
asn1.
modules
Algorithm
Identifier
Algorithm
Identifier
Serializer
EC
Ecdsa
Signature
Value
Ec
Key
Algorithm
Identifier
Ec
Parameters
Ec
Point
Ec
Private
Key
Key
Algorithm
Identifier
Private
Key
Info
RSA
Rsa
Key
Algorithm
Identifier
Rsa
Private
Key
Rsa
Public
Key
secp256r1
secp384r1
secp521r1
Subject
Public
Key
Info
Unknown
Key
Algorithm
Identifier
cryptography-serialization-pem
dev.
whyoleg.
cryptography.
serialization.
pem
ensure
Pem
Label()
Pem
Pem
Content
Pem
Label
Companion
cryptography-serialization-asn1
/
dev.whyoleg.cryptography.serialization.asn1
/
Der
/
Default
Default
object
Default
:
Der
(
source
)
Members
Properties
serializers
Module
Link copied to clipboard
open
override
val
serializersModule
:
SerializersModule
Functions
decode
From
Byte
Array
Link copied to clipboard
open
override
fun
<
T
>
decodeFromByteArray
(
deserializer
:
DeserializationStrategy
<
T
>
,
bytes
:
ByteArray
)
:
T
encode
To
Byte
Array
Link copied to clipboard
open
override
fun
<
T
>
encodeToByteArray
(
serializer
:
SerializationStrategy
<
T
>
,
value
:
T
)
:
ByteArray