Dokumentaro de Gambaso
Compilation & Installation
Components
gb
gb.crypt
gb.qt4
Documents
Indekso de Lingvo
Language Overviews
LeguMin
Lexicon
Registro

Cipher.IsSupported (gb.openssl)

Static Function IsSupported ( Method As String ) As Boolean

Checks if the cipher method Method is supported by the OpenSSL library installed on the system.

Example

If Not Cipher.IsSupported("AES-256-CBC") Then
  Error.Raise("AES-256 is not supported on this system. Can't continue.")
  Quit
Endif
' We're free to use Cipher["AES-256-CBC"]...