PDA

View Full Version : Encrypt and Decrypt Data



Developer Programmer
دوشنبه 12 آبان 1382, 10:30 صبح
Hi all VB coders

I'm coding PhoneBook program.

each user must login with his own username and password
no one can see the other user's phone numbers!
and phone numbers must be encrypted
but i list a specific user's phone numbers on a DB Grid
as you know i must decrypt data now.

but can't use Decrypt(select * from data where Pkey=username)

help me .

linux
دوشنبه 12 آبان 1382, 16:25 عصر
سلام!
یکی دوتا تاپیک پایین تر نگاه میکردی می دیدی که یه چیزی راجع به پسورد نوشتم!

آقا
تنها کمکی که می تونم بهت کنم
این هست


Welcome to the ebCrypt v 1.2.0.1044

This is a brief overview of features, installation and other issues you should be aware before you start using ebCrypt. For a complete description please see our {web} site (http://homepages.ihug.com.au/~bakharev/ebcrypt/) or documentation supplied with this package.



1. About ebCrypt

ebCrypt is set of lightweight ActiveX components that make string encryption algorithms available to VisualBasic, VBScript, JScript and other applications/development environment capable of using automation components. ebCrypt can be used from virtually any MS Tool or application, such as Visual Basic, Visual Basic for Applications, ASP, etc.

ebCrypt components are wrapper components, that do not implement encryption algorithms themselves, but rather use open source library of cryptographic algorithms -- SSLeay. The advantage is that you get immediate access to the proven implementation of the algorithms.

Currently supported features are:
* Symmetrical encryption algorithms: IDEA, BLOWFISH, CAST5, DES, 3DES
* Hashing algorithms: MD5, RIPEMD160, SHA1
* Diffie-Hellman key exchange protocol;
* DSA public/private key support, including key generation, export/import and digital signatured;
* Other: high level functions provided to do one function call file encryption/decryption, conversion to hex and base64 strings.
ebCrypt is developed by EB Design Pty Ltd, see contact details further down.


این اکتیو ایکس مجانی هست و من قبلا دانولد کردم
تقریبا تمامی الگوریتم های hash و انکریپت و دیکریپت را ساپورت میکنه
یه help کامل با مثال هم داره دانلود کن کارت را می‌افته

Developer Programmer
دوشنبه 12 آبان 1382, 18:24 عصر
سلام
راستش مشکل اصلی من اینه که وقتی دیتابیس رو خوندی DBGrid تمام اطلاعات رو نشان می ده بدون اینکه اجازه بده از Decrypt استفاده بشه ! چه طوری می تونم اطلاعات کد شده را اول باز کنم بعد با Dbgrid نشان بدم؟
ضمنا من از ADO استفاده می کنم و بانک اطلاعاتی من Access XP می باشد
:cry:
راستی اسم سایت این اکتیو ایکس رو بده

linux
دوشنبه 12 آبان 1382, 18:37 عصر
خوب برای گرید باید کد بنویسی یعنی اینکه مستقیما به رکوردست وصل نکنی!
آدرس این فایل هم تو نوشته‌ی بالا هست نگاه کنی پیداش میکنی

(http://homepages.ihug.com.au/~bakharev/ebcrypt/)

دیدی؟؟