unit uRODECConst; interface {$I uROVer.inc} {$IFDEF VER_D3H} resourcestring {$ELSE} const {$ENDIF} // DECUTils.pas (all parts) sProtectionCircular = 'Circular Protection detected, Protection Object is invalid.'; sStringFormatExists = 'String Format "%d" does not exist.'; sInvalidStringFormat = 'Input is not a valid %s Format.'; sInvalidFormatString = 'Input cannot be converted to %s Format.'; sFMT_COPY = 'copy Input to Output'; sFMT_HEX = 'Hexadecimal'; sFMT_HEXL = 'Hexadecimal lowercase'; sFMT_MIME64 = 'MIME Base 64'; sFMT_UU = 'UU Coding'; sFMT_XX = 'XX Coding'; // RO_Cipher.pas (Part I) sInvalidKey = 'Encryptionkey is invalid'; sInvalidCRC = 'Encrypted Data is corrupt, invalid Checksum'; sInvalidKeySize = 'Length from Encryptionkey is invalid.'#13#10+ 'Keysize for %s must be within %d-%d bytes'; sNotInitialized = '%s is not initialized, call Init() or InitKey() first.'; sInvalidMACMode = 'Invalid Ciphermode selected to produce MAC.'#13#10 + 'Please use Modes cmCBC, cmCTS, cmCFB, cmCBCMAC, cmCFBMAC or cmCTSMAC for CalcMAC.'; sCantCalc = 'Invalid Ciphermode selected.'; // RO_Rng.pas (Part I) sInvalidRandomStream = 'Invalid Random Data detected.'; sRandomDataProtected = 'Random Data is protected.'; // BNG.pas (Part II) sBBSnotSeekable = 'BBS Generator is not seekable.'; sBigNumDestroy = 'Bignums used in a BBS Generator cannot be destroyed.'; sIndexOutOfRange = 'BBS Error: Index out of Range.'; // BigNum.pas (Part II) sBigNumAborted = 'BigNum aborted by User.'; sErrGeneric = 'Bignum Generic Error.'; sErrAsInteger = 'BigNum overflow in AsInteger.'; sErrAsComp = 'BigNum overflow in AsComp.'; sErrAsFloat = 'BigNum overflow in AsFloat.'; sNumberFormat = 'BigNum invalid Numberformat for Base %d.'#13#10'Value: %s'; sDivByZero = 'BigNum division by Zero.'; sStackIndex = 'BigNum Stackindex out of range.'; sLoadFail = 'BigNum invalid data format.'; sParams = 'BigNum parameter error.'#13#10'%s.'; sJacobi = 'BigNum Jacobi(A, B), B must be >= 3, Odd and B < A'; sSPPrime = 'BigNum IsSPPrime(A, Base), |Base| must be > 1, |A| > |Base| and |A| >= 3'; sSetPrime = 'BigNum SetPrime(Base, Residue, Modulus), Invalid Parameter.'#13#10'%s.'; sSetPrimeSize = 'Value must be greater than 32767'; sSetPrimeParam = 'GCD(Residue, Modulus) must be 1 and Residue < Modulus'; sSqrt = 'BigNum Sqrt(A) A must be positive'; sExpMod = 'BigNum ExpMod(E, M) M must be positive'; sCalcName = 'Calculation No %d'; // OTPass.pas (Part III) sInvalidState = 'Invalid Protector State detected.'; sIDOutOfRange = 'Protector Error: ID is out of Range.'; // RO_Compress.pas (Part I) sInvalidZIPData = 'Invalid compressed Data detected.'; // RO_RFC2289.pas (Part I) sInvalidChallenge = 'Challenge is not in RO_RFC2289 Format.'; sInvalidPassword = 'Invalid Passphraselength, must be more than 9 Chars.'; sInvalidSeed = 'Invalid Seed Value in OTPCalc.'; sInvalidCalc = 'Invalid Parameters in OTPCalc.'; sInvalidDictionary = 'Used Dictionary in %s is invalid.'; sOTPIdent = 'otp-'; // RO_RFC2289 Ident sOTPExt = 'ext'; // RFC2444 sOTPWord = 'word:'; // RFC2444 sOTPHex = 'hex:'; // RFC2444 sSKeyIdent = 's/key'; // RFC1760 Ident implementation end.