I am trying to use base64 encryption with DESede algorithm. I have a solution in JAVA.

for Example: The encrypted form of the word 'password' is '7JHe7Oo335uQ4JqjxIWyxw=='

I need similar solution in PHP.

Can anyone help?

String function crypt — One-way string encryption (hashing) and Cryptography Extensions.

base64_encode($String)
base64_decode($String)

There is no equivalent function or API in php. You have to write your own class using crypt().

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.