blob

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 29, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecryptWithMasterKey

func DecryptWithMasterKey(blobData []byte, masterKey, entropy []byte) ([]byte, error)

DecryptWithMasterKey Decrypt dpapi blob data with master key.

Types

type DataBlob

type DataBlob struct {
	Version          uint32
	GuidProvider     [16]byte
	MasterKeyVersion uint32
	GuidMasterKey    [16]byte
	Flags            uint32
	DescriptionLen   uint32
	Description      []byte
	AlgCrypt         uint32
	AlgCryptLen      uint32
	SaltLen          uint32
	Salt             []byte
	HmacKeyLen       uint32
	HmacKey          []byte
	AlgHash          uint32
	AlgHashLen       uint32
	Hmac2KeyLen      uint32
	Hmack2Key        []byte
	DataLen          uint32
	Data             []byte
	ToSign           []byte // add
	SignLen          uint32
	Sign             []byte
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL