Class StiOfficeEncryptedPackageHelper

Hierarchy

  • StiOfficeEncryptedPackageHelper

Index

Properties

Static Readonly BlockKey_HashInput

BlockKey_HashInput: number[] = [0xfe, 0xa7, 0xd2, 0x76, 0x3b, 0x4b, 0x9e, 0x79]

Static Readonly BlockKey_HashValue

BlockKey_HashValue: number[] = [0xd7, 0xaa, 0x0f, 0x6d, 0x30, 0x61, 0x34, 0x4e]

Static Readonly BlockKey_HmacKey

BlockKey_HmacKey: number[] = [0x5f, 0xb2, 0xad, 0x01, 0x0c, 0xb9, 0xe1, 0xf6]

Static Readonly BlockKey_HmacValue

BlockKey_HmacValue: number[] = [0xa0, 0x67, 0x7f, 0x02, 0xb2, 0x2c, 0x84, 0x33]

Static Readonly BlockKey_KeyValue

BlockKey_KeyValue: number[] = [0x14, 0x6e, 0x0b, 0xe7, 0xab, 0xac, 0xd0, 0xd6]

Methods

Static EncryptPackage

  • EncryptPackage(packageData: number[], password: string, stream: MemoryStream): void
  • Parameters

    • packageData: number[]
    • password: string
    • stream: MemoryStream

    Returns void

Static getRandomBytes

  • getRandomBytes(count: number): number[]
  • Parameters

    • count: number

    Returns number[]

Generated using TypeDoc