Signal-Desktop/ts/types/Crypto.ts

14 lines
267 B
TypeScript
Raw Normal View History

2021-09-24 00:49:05 +00:00
// Copyright 2021 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
export enum HashType {
size256 = 'sha256',
size512 = 'sha512',
}
export enum CipherType {
AES256CBC = 'aes-256-cbc',
AES256CTR = 'aes-256-ctr',
AES256GCM = 'aes-256-gcm',
}