nil::crypto3::pbkdf Namespace Reference

Namespaces

 detail
 

Classes

class  pbkdf2
 
class  pgp_s2k
 OpenPGP's S2K. More...
 
class  pkcs5_pkbdf1
 PKCS #5 v1 PBKDF, aka PBKDF1 Can only generate a key up to the size of the hash output. Unless needed for backwards compatibility, use PKCS5_PBKDF2. More...
 

Typedefs

template<typename Pbkdf >
using accumulator_set = boost::accumulators::accumulator_set< static_digest< Pbkdf::input_block_bits >, boost::accumulators::features< accumulators::tag::pbkdf< Pbkdf > >>
 
template<typename Hash >
using openpgp_s2k = pgp_s2k< Hash >
 

Functions

template<typename Hasher , typename SinglePassRange , typename OutputIterator , typename StreamHash = detail::range_stream_hash_traits<Hasher, SinglePassRange>, typename = typename std::enable_if<detail::is_stream_hash<StreamHash>::value>::type>
OutputIterator hash (const SinglePassRange &rng, OutputIterator out, StreamHash sh=StreamHash())
 
template<typename Hasher , typename SinglePassRange , typename StreamHash = detail::range_stream_hash_traits<Hasher, SinglePassRange>, typename = typename std::enable_if<detail::is_stream_hash<StreamHash>::value>::type>
detail::hash< Hasher, SinglePassRange > hash (const SinglePassRange &rng, StreamHash sh=StreamHash())
 
template<typename Hasher , typename InputIterator , typename OutputIterator , typename StreamHash = detail::iterator_stream_hash_traits<Hasher, InputIterator>, typename = typename std::enable_if<detail::is_stream_hash<StreamHash>::value>::type>
OutputIterator hash (InputIterator first, InputIterator last, OutputIterator out, StreamHash sh=StreamHash())
 
template<typename Hasher , typename InputIterator , typename StreamHash = detail::iterator_stream_hash_traits<Hasher, InputIterator>, typename = typename std::enable_if<detail::is_stream_hash<StreamHash>::value>::type>
detail::hash< Hasher, InputIterator > hash (InputIterator first, InputIterator last, StreamHash sh=StreamHash())
 

Typedef Documentation

◆ accumulator_set

template<typename Pbkdf >
using nil::crypto3::pbkdf::accumulator_set = typedef boost::accumulators::accumulator_set<static_digest<Pbkdf::input_block_bits>, boost::accumulators::features<accumulators::tag::pbkdf<Pbkdf> >>

◆ openpgp_s2k

template<typename Hash >
using nil::crypto3::pbkdf::openpgp_s2k = typedef pgp_s2k<Hash>