-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathConstants.js
36 lines (32 loc) · 827 Bytes
/
Constants.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/* eslint linebreak-style: ["error", "windows"] */
const CONSTANTS = {
HashAlgorithms: {
md2: 'MD2',
md5: 'MD5',
sha1: 'SHA-1',
sha224: 'SHA-224',
sha256: 'SHA-256',
sha384: 'SHA-384',
sha512: 'SHA-512',
keccak: 'keccak',
},
HmacAlgorithms: {
HmacMD5: 'HmacMD5',
HmacSHA1: 'HmacSHA1',
HmacSHA224: 'HmacSHA224',
HmacSHA256: 'HmacSHA256',
HmacSHA384: 'HmacSHA384',
HmacSHA512: 'HmacSHA512',
HmacKeccak: 'HmacKeccak',
PBEwithHmacSHA: 'PBEwithHmacSHA',
PBEwithHmacSHA1: 'PBEwithHmacSHA1',
PBEwithHmacSHA224: 'PBEwithHmacSHA224',
PBEwithHmacSHA256: 'PBEwithHmacSHA256',
PBEwithHmacSHA384: 'PBEwithHmacSHA384',
PBEwithHmacSHA512: 'PBEwithHmacSHA512',
},
Events: {
onBatchReccieved: 'RNHashBatch',
},
};
export default CONSTANTS;