hOpenPGP-0.8: native Haskell implementation of OpenPGP (RFC4880)
Codec.Encryption.OpenPGP.S2K
string2Key :: Integral a => S2K -> a -> ByteString -> ByteStringSource