Discover Packages
github.com/wat4r/dpapitk
hashlib
package
Version:
v1.0.1
Opens a new window with list of versions in this module.
Published: Jun 22, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Jump to ...
Documentation
Index
Constants
Variables
Functions
DPAPIHmac(hashName, pwdhash, hmacSalt, value)
Hmac(key, msg, digestmod)
New(name, data)
Pbkdf2(passphrase, salt, keyLen, iterations, digest)
Pbkdf2Hmac(hashName, password, salt, iterations)
Pbkdf2Ms(passphrase, salt, keyLen, iterations, digest)
Types
Source Files
Documentation
Documentation
¶
func DPAPIHmac(hashName string, pwdhash, hmacSalt, value []byte) []byte
func Hmac(key, msg []byte, digestmod string) []byte
func New(name string, data []byte) []byte
func Pbkdf2(passphrase, salt []byte, keyLen, iterations int, digest string) (result []byte)
func Pbkdf2Hmac(hashName string, password, salt []byte, iterations int) []byte
func Pbkdf2Ms(passphrase, salt []byte, keyLen, iterations int, digest string) []byte
func DPAPIHmac(hashName string , pwdhash, hmacSalt, value []byte ) []byte
Internal function used to compute HMACs of DPAPI structures.
func Pbkdf2(passphrase, salt []byte , keyLen, iterations int , digest string ) (result []byte )
Implementation of PBKDF2 that allows specifying digest algorithm.
Returns the corresponding expanded key which is keylen long.
Implementation of PBKDF2 that allows specifying digest algorithm.
Returns the corresponding expanded key which is keylen long.
Note: This is not real pbkdf2, but instead a slight modification of it.
Seems like Microsoft tried to implement pbkdf2 but got the xoring wrong.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.