mirror of
https://github.com/fluencelabs/js-libp2p-secio
synced 2025-05-13 23:01:19 +00:00
24 lines
284 B
JavaScript
24 lines
284 B
JavaScript
|
'use strict'
|
||
|
|
||
|
exports.exchanges = [
|
||
|
'P-256',
|
||
|
'P-384',
|
||
|
'P-521'
|
||
|
]
|
||
|
|
||
|
exports.ciphers = [
|
||
|
'AES-256',
|
||
|
'AES-128',
|
||
|
'Blowfish'
|
||
|
]
|
||
|
|
||
|
exports.hashes = [
|
||
|
'SHA256',
|
||
|
'SHA512'
|
||
|
]
|
||
|
|
||
|
// Determines which algorithm to use. Note: f(a, b) = f(b, a)
|
||
|
exports.theBest = (order, p1, p2) => {
|
||
|
|
||
|
}
|