* encrypt / decrypt - Anything available for Tru64 ?
@ 2008-01-21 11:17 R.A.Omond
2008-01-21 19:26 ` Arne Vajhøj
0 siblings, 1 reply; 2+ messages in thread
From: R.A.Omond @ 2008-01-21 11:17 UTC (permalink / raw)
Gentle colleagues (this is cross-posted in comp.os.vms, since there
might be folks there who have been there, done that etc. etc.)
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) ?
Any help much appreciated,
Roy Omond
Blue Bubble Ltd.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: encrypt / decrypt - Anything available for Tru64 ?
2008-01-21 11:17 encrypt / decrypt - Anything available for Tru64 ? R.A.Omond
@ 2008-01-21 19:26 ` Arne Vajhøj
0 siblings, 0 replies; 2+ messages in thread
From: Arne Vajhøj @ 2008-01-21 19:26 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-01-21 19:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-21 11:17 encrypt / decrypt - Anything available for Tru64 ? R.A.Omond
2008-01-21 19:26 ` Arne Vajhøj
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox