File: xcrypt.3

package info (click to toggle)
manpages-ja 0.5.0.0.20080615-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 20,508 kB
  • ctags: 1
  • sloc: sh: 13,690; perl: 157; makefile: 114
file content (75 lines) | stat: -rw-r--r-- 1,846 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
.\"  Copyright 2003 walter harms (walter.harms@informatik.uni-oldenburg.de)
.\"  Distributed under GPL
.\"  this is the 3rd type of interface for cryptographic routines
.\"  1. encrypt() expects a bit field
.\"  2. cbc_crypt() byte values
.\"  3. xencrypt() a hexstring
.\"  to bad to be true :(
.\"
.\" Japanese Version Copyright (c) 2004 Yuichi SATO
.\"         all rights reserved.
.\" Translated Wed Sep 15 01:02:11 JST 2004
.\"         by Yuichi SATO <ysato444@yahoo.co.jp>
.\"
.TH XCRYPT 3 2003-04-04 "" "Linux Programmer's Manual"
.SH ̾
xencrypt, xdecrypt, passwd2des \- RFS ѥɰŹ沽
.SH 
.B "#include <rpc/des_crypt.h>"
.sp
.BI "void passwd2des(char " *passwd ", char *" key ");"
.sp
.BI "int xencrypt(char *" secret ", char *" passwd ");"
.sp
.BI "int xdecrypt(char *" secret ", char *" passwd ");"
.SH 
ؿ
.BR passwd2des ()
ǤդĹʸ
.I passwd
ȤꡢĹ 8 ʸ
.I key

.I key
 DES ȤƻȤΤŬƤ롣
γƥХȤΥӥå 0 ϴѥƥǤ롣
ƤĤ 2 Ĥδؿϡ
δؿȤ
.I passwd
 DES Ѵ롣
.LP
.BR xencrypt ()
ؿ
.\" (ե٥å 0123456789abcdefABCDEF ɽ)
16 ʿͿ줿 ASCII ʸ
.I secret
Ȥ롣
Ĺ 16 ܿǤʤФʤʤ

.BR passwd2des ()
ˤä
.I passwd
ƳФ줿 DES Ȥ
.I secret
Ź沽롣
η̤
.\" (ե٥å 0123456789abcdef ɽ)
16 ʿʸȤ
.I secret
˺ƤƱĹǽϤ롣
.LP
.BR xdecrypt ()
ؿϵդԤ
.SH ֤
ؿ
.BR xencrypt ()

.BR xdecrypt ()
ϡ 1 ֤Ԥ 0 ֤
.SH С
Υ롼 libc 4.6.27 ʹߤ glibc 2.1 ʹߤ¸ߤ롣
.SH Х
嵭Υ󥯥롼ɥե˥ץȥפʤ
.SH Ϣ
.BR cbc_crypt (3)