Hi,
Is it possible to use Crypt::Tea_JS.pm to encrypt a string using TEA (Tiny Encryption Algorithm) (New Variant) .
It says in the Tea_JS documentation that
Crypt::Tea_JS uses the New Improved version of the TEA .
but I could not find anything on how to use the same (encrypt method of Tea_JS uses CBC).

When I use the java program TEAV.java and encrypt the string "hello world" I get an output "60350EDF4F87A541C216C4BE5C50D7AD" Encoded as Hex string
using the key "0123456789ABCDEF0123456789ABCDEF".

Can I do the same encryption using Crypt::Tea_JS,
If that is possible please let me know how to use the API to do the same .
Thanks

In reply to Encryption using Tea algorithm (New Variant) by mkirank

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.