Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

makekey(1) [opensolaris man page]

makekey(1)							   User Commands							makekey(1)

NAME
makekey - generate encryption key SYNOPSIS
/usr/lib/makekey DESCRIPTION
makekey improves the usefulness of encryption schemes that depend on a key by increasing the amount of time required to search the key space. It attempts to read 8 bytes for its key (the first eight input bytes), then it attempts to read 2 bytes for its salt (the last two input bytes). The output depends on the input in a way intended to be difficult to compute (that is, to require a substantial fraction of a second). The first eight input bytes (the input key) can be arbitrary ASCII characters. The last two (the salt) are best chosen from the set of dig- its, ., /, upper- and lower-case letters. The salt characters are repeated as the first two characters of the output. The remaining 11 out- put characters are chosen from the same set as the salt and constitute the output key. The transformation performed is essentially the following: the salt is used to select one of 4,096 cryptographic machines all based on the National Bureau of Standards DES algorithm, but broken in 4,096 different ways. Using the input key as key, a constant string is fed into the machine and recirculated a number of times. The 64 bits that come out are distributed into the 66 output key bits in the result. makekey is intended for programs that perform encryption. Usually, its input and output will be pipes. SEE ALSO
ed(1), vi(1), passwd(4) NOTES
makekey can produce different results depending upon whether the input is typed at the terminal or redirected from a file. SunOS 5.11 3 Mar 2008 makekey(1)

Check Out this Related Man Page

MAKEKEY(8)						      System Manager's Manual							MAKEKEY(8)

NAME
makekey - generate encryption key SYNOPSIS
/usr/sbin/makekey DESCRIPTION
Makekey improves the usefulness of encryption schemes depending on a key by increasing the amount of time required to search the key space. It reads 10 bytes from its standard input, and writes 13 bytes on its standard output. The output depends on the input in a way intended to be difficult to compute (that is, to require a substantial fraction of a second). The first eight input bytes (the input key) can be arbitrary ASCII characters. The last two (the salt) are best chosen from the set of digits, upper- and lower-case letters, and `.' and `/'. The salt characters are repeated as the first two characters of the output. The remaining 11 output characters are chosen from the same set as the salt and constitute the output key. The transformation performed is essentially the following: the salt is used to select one of 4096 cryptographic machines all based on the National Bureau of Standards DES algorithm, but modified in 4096 different ways. Using the input key as key, a constant string is fed into the machine and recirculated a number of times. The 64 bits that come out are distributed into the 66 useful key bits in the result. Makekey is intended for programs that perform encryption (for instance, ed and crypt(1)). Usually makekey's input and output will be pipes. SEE ALSO
crypt(1), ed(1) 7th Edition October 23, 1996 MAKEKEY(8)
Man Page

7 More Discussions You Might Find Interesting

1. Programming

A question about output.

I am learning output the data to a file using "ofstream". I need to read data from a file and output the result to the other file in 2 different ways. To do that I have to provoke two functions, and they have to output the result to the same text file. My problem is: they are correct on the screen... (2 Replies)
Discussion started by: HOUSCOUS
2 Replies

2. UNIX for Advanced & Expert Users

Splitting the input value

Hi, I have a Variable Char field coming whose value looks like below 562432569856 I need to extract 2 characters from it till the end and put it elsewhere say 56 24 32 56 98 56 in this case. Any input is appreciated. (2 Replies)
Discussion started by: thumsup9
2 Replies

3. UNIX for Dummies Questions & Answers

alpahbetic input

how can i accept a group of lower case alphabetic input one at a time , ended with 0 and find and display the first letter in alphabetic order. example, input or d f g c should result in c thanks (1 Reply)
Discussion started by: christine33990
1 Replies

4. Programming

Number of bytes in terminal input queue w/o blocking and consuming?

Hello, everyone. Could someone, please, tell me how to get the number of bytes in the terminal input queue without blocking and without consuming these bytes? I guess it could be called the peek functionality. I've looked at termio tcgetattr() and tcsetattr() functions but could not find... (4 Replies)
Discussion started by: Lucy.Garfeld
4 Replies

5. UNIX for Dummies Questions & Answers

Formatting the o/p of ls command to a file

HI, I require only the file name and the user information from the ls output into a file. The layout of the file is already defined as: User id is in the first 7 bytes FName is in the next 50 bytes Assuming that user id is less than or = 7 bytes and File name is less than or = 50 bytes... (5 Replies)
Discussion started by: Meghna
5 Replies

6. Programming

4-Byte Salt (in hex) to Integer

If i have a salt that looks like this 'CFDB024F' (in hex) would the integer value be '3487236687' ? Is that correct? (1 Reply)
Discussion started by: cbreiny
1 Replies

7. Homework & Coursework Questions

Alphabetical help.

1. The problem statement, all variables and given/known data: Find the first letter in alphabet from the input: Accept the input of a series of upper case alphabetic letters one at a time. The input ends with a 0. Find and display the first letter in alphabetic order. For example, input... (27 Replies)
Discussion started by: Ren_kun
27 Replies