swirl
Guide to OmniMark 8   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesLegacy LibrariesErrors
 
Functions       Platforms  
 

Blowfish (OMBLOWFISH)

 
 

OMBLOWFISH is a low-level OmniMark interface to the Blowfish cryptographic algorithm. The Blowfish encryption algorithm is described in

   [1] Bruce Schneier, ``Description of a New Variable-Length Key,
          64-bit Block Cipher (Blowfish)'', Fast Software Encryption,
          Cambridge Security Workshop, p. 191--204, December 09--11, 1993.

The library provides functions for encoding and decoding 64-bit quantities using an encryption key. These 64-bit quantities are represented as OmniMark strings with a length of eight characters. An input string longer than eight characters is rejected; an input string shorter than eight characters is padded to a length of eight characters using null bytes.

A more convenient interface to the Blowfish algorithm is provided by the OMFFBLOWFISH library, which provides filter functions for encrypting and decrypting data in a streaming fashion. It, in turn, uses this library for its low-level implementation.

The OMBLOWFISH library provides three external functions and one external data type; it also provides one conversion function as a convenience.

The conversion function provided by OMBLOWFISH takes a string and returns a fully-initialized state. This can be convenient when initializing a local state.

Requirements

To use OMBLOWFISH in your OmniMark program, you must import it into your program using a statement like this:

     import "omblowfish.xmd" prefixed by blowfish.

OMBLOWFISH Generated Exceptions

This is a complete list of the OMBLOWFISH library external exceptions that may be thrown back to the calling OmniMark program. These are all catchable using the #external-exception label.

Functions
   blowfish.decode
   blowfish.encode
   blowfish.set-encryption-key
   blowfish.state
 
Platforms
   HP-UX Itanium 2
   IBM AIX 5.3
   Linux (Intel)
   Linux Red Hat Enterprise 5
   MS Windows 98/ME
   MS Windows NT/2000/XP
   MS Windows Vista
   Sun Solaris 8
 
 

Top [ INDEX ] [ CONCEPTS ] [ TASKS ] [ SYNTAX ] [ LIBRARIES ] [ LEGACY LIBRARIES ] [ ERRORS ]

OmniMark 8.2.0 Documentation Generated: May 6, 2008 at 10:12:26 am
If you have any comments about this section of the documentation, please use this form.

Copyright © Stilo International plc, 1988-2008.