js-libp2p-secio/src/support.js

24 lines
284 B
JavaScript
Raw Normal View History

2016-05-21 17:36:13 +02:00
'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) => {
}