함수 crypt()

Jmnote (토론 | 기여)님의 2021년 4월 14일 (수) 21:53 판 (→‎PHP)
(차이) ← 이전 판 | 최신판 (차이) | 다음 판 → (차이)
함수 crypt

1 Bash[ | ]

perl -e "print crypt('hello','salt');"
# saPPmoXIbs91M
php -r 'echo crypt("hello", "salt");'
# saPPmoXIbs91M
python -c 'import crypt; print crypt.crypt("hello","salt")'
# saPPmoXIbs91M
ruby -e 'print "hello".crypt("salt");'
# saPPmoXIbs91M

2 PHP[ | ]

echo crypt('hello', 'salt')."\n";  # saPPmoXIbs91M

3 Python[ | ]

import crypt
print(crypt.crypt("hello","salt"))  # saPPmoXIbs91M

4 Perl[ | ]

print crypt("hello", "salt");  # saPPmoXIbs91M

5 Ruby[ | ]

print "hello".crypt("salt");  # saPPmoXIbs91M

6 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}