EncryptionUtils class

Constructors

EncryptionUtils.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

addCookie(MobiData data, String? pid, int from, int to) → dynamic
assemblyPk1(List<int> key) int
checkSumDrmKey(String key) int
checkSumDrmPid(String? pid) List<String>
crc32(String? pid, [int crc = 0xffffffff]) int
decryptBuffer(Uint8List data, MobiData mobiData, int length) List<int>
decryptPk1(Uint8List encodedData, int length, String key) List<int>
drmIsExpired(int from, int to) bool
encryptPk1(Uint8List data, int length, String key) List<int>
getDrmKey(String? pid, MobiData data) List<int>
getMobiKeyV1(MobiData data) List<int>
getMobiKeyV2(String? pid, MobiData data) List<int>
getVouchers(MobiData data) List<MobiVoucher>
hasDrmKey(MobiData data) bool
initDrmKey(MobiData data, List<int> key) → void
isEncrypted(MobiData data) bool
pk1Code(MobiPk1 pk1, int i) int
setDrmKey(MobiData data, String? pid) → void
verifyCookie(int drmVerification, List<int> cookie, int keyType) VerificationResult
verifyDrmKey(String? pid) bool

Constants

s_crc32 → const List<int>