From: "Arne Vajhøj" <arne@vajhoej.dk>
Subject: Re: encrypt / decrypt - Anything available for Tru64 ?
Date: Mon, 21 Jan 2008 14:26:33 -0500 [thread overview]
Message-ID: <4794f1e3$0$90263$14726298@news.sunsite.dk> (raw)
In-Reply-To: <fn1uvt$roi$1$8300dec7@news.demon.co.uk>
R.A.Omond wrote:
> I find myself needing a generic file encrypt/decrypt utility for
> some Tru64 sites that I support. What do others use for this sort
> of requirement ?
>
> Ideally, it should contain similar functionality that the VMS
> Encrypt and Decrypt commands provide:
>
> $ help encrypt
>
> ENCRYPT
>
> There are four ENCRYPT commands:
> ENCRYPT Encrypts files. Before you enter
> this command, create a key with the
> ENCRYPT /CREATE_KEY command.
> ENCRYPT /AUTHENTICATE Checks for changes to either plain
> text or cipher text files (see
> /AUTHENTICATE).
> ENCRYPT /CREATE_KEY Defines a key to be used during
> encryption (see /CREATE_KEY).
> ENCRYPT /REMOVE_KEY Deletes a key definition from a key
> storage table (see /REMOVE_KEY).
>
> Format for the ENCRYPT Command
>
> ENCRYPT input-file key-name [qualifiers]
>
> /DATA_ALGORITHM
>
> { DESCBC (default) }
> /DATA_ALGORITHM= { AESmmmkkk }
> { }
>
> Where mmm is the mode CBC, ECB, CFB, or OFB; and kkk is 128,
> 192, or 256 bits. Cipher Block Chaining (CBC) and Electronic Code
> Book (ECB) are 16-byte block modes, meaning blocks are padded to
> 16 bytes if necessary during encryption. The padding is removed
> during decruption. Cipher Feedback (CFB) and Output Feedback
> (OFB) are 8-bit character stream mode emulation, useful in data
> communications and where no padding is required.
>
> Note that /DATA_ALGORITM=AES is a shortcut for specifying AESCBC128.
>
> The data algorithm is used with the randomly generated key to
> perform encryption of the file's data. When specifying an AES
> algorithm, specify both /KEY and /DATA=AESmmmkkk qualifiers and
> use an AES created key.
>
> Alternatively, has anyone built a generic encrypt/decrypt utility
> using the routines supplied in CDSA (Common Data Security Architecture),
> which is part of the Tru64 Security Subsystem (it's part of the base
> operating system in VMS) ?
The algorithms mentioned are very "standard" ones.
I would spend 2 minutes searching for a utility already on the system
and if unsuccessful then start coding.
A Java version >= 1.4 or a C compiler with a cryptographic
library should be relative easy.
If you tell me what you have, then I would be happy to slam some
code together.
Arne
prev parent reply other threads:[~2008-01-21 19:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-21 11:17 encrypt / decrypt - Anything available for Tru64 ? R.A.Omond
2008-01-21 19:26 ` Arne Vajhøj [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox