Новости
Программы
Графика
Обо мне
Напишите мне
News
Software
Graphics

123Counter


Made with PPWizard!
GlassMan Mirrors | Sitemap

RxCrypt 1.0 OS/2 FREE


Introduction

Small dynamic library for REXX, containing function crypt (), which use of unix systems and, as i have found out, majority of the OS/2 programs working with internet. I used it for a writing of the small program synchronizing the password on tcp/ip daemons: Mail, Telnet, Apache and DialIn. All works perfectly.


call rxFuncAdd "Crypt", "RxCrypt", "RxCrypt"


/* Generate random salt, see crypt.txt */


itoa64 = "./0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ" ||,

         "abcdefghijklmnopqrstuvwxyz"



salt   = ""



do i = 1 to 8

   salt = salt || substr( itoa64, random( 0, 63 ) + 1, 1 )

end


/* Get and encrypt password */


call charout ,"Enter password     : "

parse pull passone

passone = Crypt( passone, salt )



say "Encrypted password : "passone


/* Get password for verify  */


call charout ,"Re-enter password  : "

parse pull passtwo


/* Check password */


passtwo = Crypt( passtwo, passone )



if passtwo == passone then

   say "Password test passed"

else

   say "Password mismatch"

[top]

Download

PackageDownload
RxCrypt (with source codes)[DOWNLOAD] [FTP] [22K]

WARNING! All OS/2 files on this page packed via Info-Zip. You can download free copy of Info-UnZip for OS/2 from Info-Zip support page.

[top]

RU/2 link exchange

News | Software | Graphics | E-Mail
Last modified: 20000114114818