Documentation ¶
Overview ¶
Package crypto implements excel encryption algorithms from the MS-OFFCRYPTO design specs. Currently only standard/basic RC4 "obfuscation" is supported.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultXLSPassword = "VelvetSweatshop"
DefaultXLSPassword is the default Excel encryption password.
Functions ¶
This section is empty.
Types ¶
type Decryptor ¶
type Decryptor interface { // SetPassword for the decryption. SetPassword(password []byte) // Read implements the io.Reader interface. Read(p []byte) (n int, err error) // Write implements the io.Writer interface. Write(p []byte) (n int, err error) // Bytes returns the decrypted data. Bytes() []byte // Flush tells the decryptor to decrypt the latest block. Flush() // Reset the decryptor, and clear all written and readable data. Reset() }
Decryptor describes methods to decrypt an excel sheet.
func NewBasicRC4 ¶
NewBasicRC4 implements the standard RC4 decryption.
Click to show internal directories.
Click to hide internal directories.