From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: fa528,1ceaaab464f2b817,start X-Google-Thread: f7344,1ceaaab464f2b817,start X-Google-Attributes: gidfa528,gidf7344,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!out04a.usenetserver.com!news.usenetserver.com!in01.usenetserver.com!news.usenetserver.com!news.tele.dk!news.tele.dk!small.news.tele.dk!lnewsinpeer00.lnd.ops.eu.uu.net!emea.uu.net!peer-uk.news.demon.net!kibo.news.demon.net!news.demon.co.uk!demon!not-for-mail From: "R.A.Omond" Newsgroups: comp.unix.tru64,comp.os.vms Subject: encrypt / decrypt - Anything available for Tru64 ? Date: Mon, 21 Jan 2008 11:17:16 +0000 Message-ID: NNTP-Posting-Host: bluebubble-adsl.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.demon.co.uk 1200914238 28434 83.104.60.152 (21 Jan 2008 11:17:18 GMT) X-Complaints-To: abuse@demon.net NNTP-Posting-Date: Mon, 21 Jan 2008 11:17:18 +0000 (UTC) X-Antivirus-Status: Clean X-Accept-Language: en-us, en X-Antivirus: avast! (VPS 000746-1, 31/05/2007), Outbound message User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.7) Gecko/20050414 Xref: g2news1.google.com comp.unix.tru64:1189 comp.os.vms:69344 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.