Cryptor Plugin v1.5.5 available

Today we uploaded version 1.5.5 of our Cryptor Plugin. The plugin is free and can be downloaded from our website www.it2be.com.

This version holds much improved sample code and solved some minor bugs concerning the hashing of MD5 and SHA byte arrays.

The Cryptor plugin for Servoy is packed with 12 functions all about encryption and encoding.

You will find the following functions in here

Base64 encoding

  1. Base64encode
    Base64 encode a file, picture or any array of bytes into a string.

  2. Base64decode
    decode a string previously encoded into its original form.

Blowfish encryption
3. BLOWFISHencrypt
Blowfish encrypt a string with an optional user key.

  1. BLOWFISHdecrypt
    decrypt a string previously encrypted with the above function.

CRC32 checksum
5. CRC32
calculate checksum of a string, picture or whatever array of bytes

  1. CRC32equals
    compare a string, picture or whatever array of bytes agains an earlier calculated checksum

DES encryption
7. DESencrypt
java DES encrypt a string with an optional user key.

  1. DESdecrypt
    decrypt a string previously encrypted with the above function.

MD5 128 bits hash algorythm
9. MD5
calculate MD5 hash algorythm of a string, picture or whatever array of bytes

  1. MD5equals
    compare a string, picture or whatever array of bytes agains an earlier produced MD5 hash algorythm

SHA-1 160 bits hash algorythm
11. SHA
calculate SHA-1 hash algorythm of a string, picture or whatever array of bytes

  1. SHAequals
    compare a string, picture or whatever array of bytes agains an earlier produced SHA-1 hash algorythm

You can just drop the plugin in your plugins folder and (re-)start Servoy.

REMARK: Be careful using it and test it first.

Feel free to use it and distribute it but give IT2Be credit for it.
The plugin is free, provided as is and we can not take any responsibility for the way it behaves or works.

Please give us feedback on what you think of it…

Cheers

I have an PDF file coded with base64.
Now I want to ‘turn it back into PDF’

I use:

var result = plugins.it2be_cryptor.Base64decode(pdftext);
application.output(result);

My output is: [B@13b1fb5

Would be a very small pdf file, if you look at the coded file in the attach.

Other web based tools did it better, but also not perfect.

test.txt (27.9 KB)

Can you please create a case in our support system at http://www.it2be.com/support/ .
Please include the codeline, the pdf and the encoded pdf so we can test…

But only when there is a real issue.

The returned value is a byte

application.output(result);

.

It will probably be ok when you save it as a file with extension .pdf

Done
(the result is 1 byte, I need at least a whole file)

Like already replied via the support system, it works here :)