Configurations

Argon2

From: https://github.com/antelle/argon2-browser

Type: Argon2id

Memory: 500000KiB

Hash length: 32 bytes

Iterations: 1


AES

From: built-in SubtleCrypto API

Type: AES-CTR

IV size: 128 bits

Counter size: 64 bits

Padding: none

The values down below are just for illustration purposes and aren't the real input/output of the cryptographic functions

Login process

Salt the password

passwordG4Pa8PyTYGZoE5vgKYpYgrPR9sBwLecNUVTnwejWkGDLFP49xELJRCDfHLkafY3musername

arrow_downward

Argon2

30e67bb54ba74d68ebebc68b9cb41b4f0a9e37fbcee23335708596f3027b102b

arrow_downward

Send to server

/api/gen_authtoken

arrow_downward

SHA256

70753552cb94bc82bfbd430180179123edc677f006d45b51760b73f709507423

arrow_downward

Generates the authtoken if the hash matches and sends it to the client

b4e8be0d4131d624902a5708f4a5090ebf7e9f9b15979506d16bff78a77c459c


Encryption key generation

Salt the password with a different static salt

password57y94ZhfmXKet8pSmzNqJJcJj8KKj62woKSpifFgFnfhDD89sTJTqWsAP5t8aXt5username

arrow_downward

Argon2

3eefe16d57394d5c7dcceea034003d1375ce19491ca13157f93d1ea5200fb3ba


Note encryption

Deletes in 7 days

Hello world

close

arrow_downward

Encrypt with AES using the encryption key

186165c847f2738990740b4a2452f34c89c11f8b58788dddb2cc1e

arrow_downward

Send to server

/api/set_note