Xojo Documentation Xojo Documentation

  • Home
  • Download Xojo
  • Recent changes
  • MediaWiki Info
  • Get Started with Xojo
  • QuickStarts
  • Tutorials
  • Books
  • Welcome!
  • Fundamentals
  • User Interface
  • Framework
  • Technical Information
  • Programming Language Commands
  • Framework
  • iOS Framework
  • System Requirements
  • Release Notes
  • Deprecations
  • Videos
  • Example Projects
  • FAQ
  • International
  • Feedback
  • Usage
  • Copyrights and Trademarks
  • What links here
  • Related changes
  • Special pages
  • Printable version
  • Permanent link
  • Page information
  • Log in
  • Xojo Documentation
  • Home
  • Download Xojo
  • Recent changes
  • MediaWiki Info
  • Get Started with Xojo
  • QuickStarts
  • Tutorials
  • Books
  • Welcome!
  • Fundamentals
  • User Interface
  • Framework
  • Technical Information
  • Programming Language Commands
  • Framework
  • iOS Framework
  • System Requirements
  • Release Notes
  • Deprecations
  • Videos
  • Example Projects
  • FAQ
  • International
  • Feedback
  • Usage
  • Copyrights and Trademarks
  • What links here
  • Related changes
  • Special pages
  • Printable version
  • Permanent link
  • Page information

Crypto

From Xojo Documentation

Module

Contains hashing methods for use with cryptography.

Methods
BERDecodePrivateKey Hash RSASign
BERDecodePublicKey MD5 RSAVerifyKey
DEREncodePrivateKey PBKDF2 RSAVerifySignature
DEREncodePublicKey RSADecrypt SHA1
GenerateRandomBytes RSAEncrypt SHA256
HMAC RSAGenerateKeyPair SHA512

Notes

Uses Crypto++ Library 5.6.5.

Use the Crypto.HashAlgorithms enumeration with the Hash method to specify the type of hash:

  • MD5: MD5 message-digest algorithm.
  • SHA1: SHA-1 produces a 160-bit (20-byte) hash value.
  • SHA256: SHA-2 with 256 bit digest.
  • SHA512: SHA-2 with 512 bit digest.
Retrieved from "http://docs.xojo.com/index.php?title=Crypto&oldid=69077"
Categories:
  • Modules
  • Language Reference Index
  • This page was last edited on 23 January 2020, at 16:09.
  • Privacy policy
  • About Xojo Documentation
  • Disclaimers
  • Send Doc Feedback
  • Powered by MediaWiki