473,405 Members | 2,354 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

RC5 algorithem

Hello,
I would like to encrpyt/decrpyt a string using RC5 algorithm with PHP
script.
Is there already a function to do it?

Many thanks for answer.
Erazem
May 16 '07 #1
6 3926
At Wed, 16 May 2007 13:47:52 +0200, Erazem Polutnik let his monkeys type:
Hello,
I would like to encrpyt/decrpyt a string using RC5 algorithm with PHP
script.
Is there already a function to do it?

Many thanks for answer.
Erazem
Not that I know of. The algorithm is described elaborately in the RFC, you
could code it yourself in PHP or put it in a C extenstion.
ftp://ftp.nordu.net/rfc/rfc2040.txt

HTH
Sh.
May 16 '07 #2
Thanks,
I'm aware of this implementation and I alredy try to implement by algorithm
by myself. But it is to hard for knowledge of PHP and I didn't want to
reinvent a wheel.
Thanks once more.
Erazem
"Schraalhans Keukenmeester" <in*****@invalid.spamwrote in message
news:pa***************************@invalid.spam...
At Wed, 16 May 2007 13:47:52 +0200, Erazem Polutnik let his monkeys type:
>Hello,
I would like to encrpyt/decrpyt a string using RC5 algorithm with PHP
script.
Is there already a function to do it?

Many thanks for answer.
Erazem

Not that I know of. The algorithm is described elaborately in the RFC, you
could code it yourself in PHP or put it in a C extenstion.
ftp://ftp.nordu.net/rfc/rfc2040.txt

HTH
Sh.

May 16 '07 #3
At Wed, 16 May 2007 14:27:56 +0200, Erazem Polutnik let his monkeys type:
"Schraalhans Keukenmeester" <in*****@invalid.spamwrote in message
news:pa***************************@invalid.spam...
>At Wed, 16 May 2007 13:47:52 +0200, Erazem Polutnik let his monkeys type:
>>Hello,
I would like to encrpyt/decrpyt a string using RC5 algorithm with PHP
script.
Is there already a function to do it?

Many thanks for answer.
Erazem

Not that I know of. The algorithm is described elaborately in the RFC, you
could code it yourself in PHP or put it in a C extenstion.
ftp://ftp.nordu.net/rfc/rfc2040.txt

HTH
Sh.
Thanks,
I'm aware of this implementation and I alredy try to implement by algorithm
by myself. But it is to hard for knowledge of PHP and I didn't want to
reinvent a wheel.
Thanks once more.
Erazem
[top posting fixed - please write replies BELOW the last message]

You tried, but failed? Perhaps if you show us how far you got we could
help you back on track with your code.

Rgds,
Sh.
May 16 '07 #4
On May 16, 7:47 am, "Erazem Polutnik" <erazem_polut...@hotmail.com>
wrote:
Hello,
I would like to encrpyt/decrpyt a string using RC5 algorithm with PHP
script.
Is there already a function to do it?

Many thanks for answer.
Erazem
<http://www.php.net/mcrypt>

May 16 '07 #5
Erazem Polutnik schrieb:
I would like to encrpyt/decrpyt a string using RC5 algorithm with PHP
script.
Is there already a function to do it?
RC5 is patented. If you are willing to pay for the royalties then
there'll possibly be a free PHP extension soon. *g*

If it is about encryption, use the mcrypt extension.

OLLi

--
rm -rf / tmp
will ruin your whole day.
May 19 '07 #6
ZeldorBlat kirjoitti:
On May 16, 7:47 am, "Erazem Polutnik" <erazem_polut...@hotmail.com>
wrote:
>Hello,
I would like to encrpyt/decrpyt a string using RC5 algorithm with PHP
script.
Is there already a function to do it?

Many thanks for answer.
Erazem

<http://www.php.net/mcrypt>
And what help is that? mcrypt doesn't handle rc5.

--
Ra*********@gmail.com

"Wikipedia on vähän niinq internetin raamattu, kukaan ei pohjimmiltaan
usko siihen ja kukaan ei tiedä mikä pitää paikkansa." -- z00ze
May 19 '07 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Dave | last post by:
Hello, I'm looking for a Floyd-Warshall Python implementation. The only implementation I have seen (searching this newsgroup) used a Python library called "Numeric". This implementation...
9
by: NiQ | last post by:
Hello every one, this is about an array of string and may be have done several time before but i need it and wasnt able to find it so here is the problem i have an array of strings with contains...
1
by: mhk | last post by:
Hi , is there any way to merge three sorted arrays into a sorted file, without using 4th array. i guess 3 way merge sort is the only option but i dont know its algorithem. can anyone tell me...
1
by: Engineer | last post by:
hi, i need to write a program that generates a color histogram from an image in BMP format in rgb color base.. iam not sure about the algorithem .. and if u guys have any code .. plz help me.. ...
0
by: someone else | last post by:
hello I am currently working on a project that will be attractive to any company that has a database. it is somewhat similar to Microsoft Navision...
11
by: Lues | last post by:
Hi, I'm trying to protect some data in tables with encription (you know why, don't you ;)) I must confess that I'm not very expirienced in writing code, especially encription code. Can any...
0
by: Edwina Rothschild | last post by:
Erazem Polutnik schrieb: RC5 is patented. If you are willing to pay for the royalties then there'll possibly be a free PHP extension soon. *g* If it is about encryption, use the mcrypt...
6
by: kamsmartx | last post by:
I'm new to programming and need some help figuring out an algorithm. I need to design some kind of algorithm which will help us define capacity for one of our portfolios....here's the problem...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.