Encryption for C++, Visual Basic, php using PC1

Cryptography topics

Encryption for C++, Visual Basic, php using PC1

Postby Saman » Wed Jul 14, 2010 12:57 am

This is a very useful encryption algorithm for general use. Extremely easy to use.

The PC1 Encryption Algorithm
Very High Security with 128 or 256-bit keys

Alexander Pukall 2004
[url]alexandermail@hotmail.com[/url]

Code free for all, even commercial applications.
Crypto Source code for C, C++, Delphi, Java, Perl, Visual Basic, TCL, PIC Microchip processor, Texas Instrument TI-89 TI-90 TI-9x, 6809 microprocessor Assembler.


The ZIP archive for PC1 encryption algorithm in C language (128-bit keys) ( input = BINARY FILE, output = BINARY FILE ).
pc1-128.zip
(19.64 KiB) Downloaded 388 times


The C file for PC1 encryption algorithm in C language (128-bit keys) ( input = BINARY FILE, output = BINARY FILE ).
cryptfile.zip
(1.77 KiB) Downloaded 293 times


The ZIP archive for PC1 encryption algorithm in C language (256-bit keys) ( input = BINARY FILE, output = BINARY FILE ).
pc1-256.zip
(20.94 KiB) Downloaded 284 times


The ZIP archive for PC1 encryption algorithm in C language (256-bit keys) ( input = BINARY FILE, output = TEXT ).
pc1-256-txt.zip
(21.31 KiB) Downloaded 237 times


The ZIP archive for PC1 encryption algorithm in Borland C++ language (256-bit keys) graphical interface ( input = TEXT, output = TEXT ).
pc1-256-c++.zip
(241.18 KiB) Downloaded 327 times


The ZIP archive for PC1 encryption algorithm in C++ language (128-bit keys) command line interface ( input = TEXT, output = TEXT ).
pk128.zip
(1.36 KiB) Downloaded 321 times


The ZIP archive for PC1 encryption algorithm in CBuilder 5 language (256-bit keys) ( input = TEXT, output = TEXT ).
pc1-256-cbuilder5.zip
(1.77 KiB) Downloaded 206 times


How to encrypt passwords in C language
passwd.zip
(23.13 KiB) Downloaded 245 times


Frequently asked questions
faq.zip
(6.63 KiB) Downloaded 262 times




The ZIP archive for PC1 encryption algorithm in JAVA language (128-bit keys) by Robert Neild ( input = BINARY FILE, output = BINARY FILE ).
pc1-128-java.zip
(8.97 KiB) Downloaded 223 times


The ZIP archive for PC1 encryption algorithm in TCL language (256-bit keys) ( input = TEXT, output = TEXT ).
pc1.zip
(1.92 KiB) Downloaded 204 times


The ZIP archive for PC1 encryption algorithm in PHP language (128-bit keys) ( input = TEXT, output = TEXT ).
pc1php.zip
(1.51 KiB) Downloaded 507 times


The PY file for PC1 encryption algorithm in Python language (128-bit keys) by Huey Jiang ( input = TEXT, output = TEXT ).
pc1char.zip
(1.4 KiB) Downloaded 205 times


The ZIP archive for PC1 encryption algorithm in Delphi language (128-bit keys) translated from C to Pascal by Peter Torris ( input =TEXT, output = TEXT ).
pc1-delphi-128.zip
(111.15 KiB) Downloaded 211 times


The ZIP archive for PC1 encryption algorithm in Perl language (128-bit keys) ( input = BINARY FILE, output = TEXT or input = TEXT, output = TEXT ).
pc1-perl-128.zip
(3.24 KiB) Downloaded 198 times


The ZIP archive for PC1 encryption algorithm in Visual Basic 6.0 (128-bit keys) ( input = TEXT, output = TEXT ).
pc1-vb6-128.zip
(6.77 KiB) Downloaded 676 times


The ZIP archive for PC1 encryption algorithm in Visual Basic 6.0 (128-bit keys) ( input = BINARY, output = BINARY ).
pc1-vb6-128-binary.zip
(8.16 KiB) Downloaded 380 times


The ZIP archive for PC1 crypt algorithm in VB 6.0 ACTIVE X control (128-bit keys) by Dan "Wraith" Hetrick
pc1-active-x.zip
(26.38 KiB) Downloaded 297 times





The ZIP archive PC1 for Microchip PIC Microcontroller 16F627, 16F627A, 16F628, 16F628A, 16F648A, 16F72, 16F73, 16F74, 16F76, 16F77, 16F818, 16F819, 16F87, 16F870, 16F871, 16F872, 16F873, 16F873A, 16F874, 16F874A, 16F876, 16F876A, 16F877, 16F877A, 16F88 (128-bit keys)
pc1-pics-128.zip
(17.52 KiB) Downloaded 221 times


The ZIP archive for PC1 crypt algorithm for 6809 processor (80-bit keys)
pc1-6809.zip
(5.59 KiB) Downloaded 192 times


The ZIP archive for PC1 crypt algorithm for Texas Instrument TI-89 TI-90 TI-9x (80-bit keys)
pc1ti80.zip
(71.78 KiB) Downloaded 172 times


The PC1 cipher uses a 128 or 256-bit key.
It's a stream cipher with a retroaction function.

Tested with Turbo C 2.0 for DOS
and Microsoft Visual C++ 5.0 for Win 32
Delphi 2.0
Perl 5.0
Visual Basic 4.0 32 bits mode
Microchip PIC

Courtesy of http://membres.multimania.fr/pc1/
User avatar
Saman
Support Team
Support Team
 
Posts: 816
Joined: Fri Jul 31, 2009 5:02 pm
Cash on hand: 152,553.20
Location: Mount Lavinia
Medals: 1
EC_Achievment (1)

Invitations sent: 44
Registered friends: 1
Reputation point: 37
Staff Sergeant

Re: Encryption for C++, Visual Basic, php using PC1

Postby SevenZero » Tue Jul 05, 2011 1:53 pm

I used this with php/VB6 and it works great.
Thanks a lot for both Author and Saman for producing this great piece of code  ;)
User avatar
SevenZero
Support Team
Support Team
 
Posts: 286
Joined: Sun Nov 01, 2009 3:07 pm
Cash on hand: 201,474.40

Invitations sent: 0
Registered friends: 0
Reputation point: 10
Corporal

Re: Encryption for C++, Visual Basic, php using PC1

Postby studeter » Sun Jan 04, 2015 3:22 am

Hello, I'm just starting in PHP, so sadly I don't have idea what to do next. I've tried all, including of course:

<?php
include 'pc1.php';
$in = 'Encryptme';
$key = 'password';
$StringOut = encrypt($in, $key);
echo '$StringOut';
?>

This code inserted in a file named tst6.php. This file executed in my website: ../tst6.php,
but nothing happens. What can I do to solve this? Please help me, I need a solution to one little project of mine related with php/VB6, yes, VB6.

Thank you in advance for your kind help.

Stu.
User avatar
studeter
 
Posts: 1
Joined: Sun Jan 04, 2015 3:11 am
Cash on hand: 139.40

Invitations sent: 0
Registered friends: 0
Reputation point: 0
Lance Corporal

Re: Encryption for C++, Visual Basic, php using PC1

Postby arjaycruz100 » Wed Apr 08, 2015 5:54 am

Oh thank you Saman your heaven sent!
User avatar
arjaycruz100
 
Posts: 1
Joined: Wed Apr 08, 2015 5:09 am
Cash on hand: 125.70
Location: usa

Invitations sent: 0
Registered friends: 0
Reputation point: 0
Lance Corporal


Return to Cryptography

Who is online

Users browsing this forum: No registered users and 1 guest