generate a sha1 encoded string using Perl

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Anuraj
    New Member
    • Oct 2012
    • 2

    #1

    generate a sha1 encoded string using Perl

    Hi
    I ma totally new in perl i don't know perl but i was asked to 'generate a sha1 encoded string using Perl'. Can anybody explain me what is this and how to do it? I have installed perl interpreter. Please tell me find the solution for this issue.
    Thanks
    Anu
  • Rabbit
    Recognized Expert MVP
    • Jan 2007
    • 12517

    #2
    SHA1 is a cryptographic hashing algorithm. It takes an input and outputs a fixed length output. In perl, you can get a SHA1 value using the Digest::SHA library.

    Comment

    • Anuraj
      New Member
      • Oct 2012
      • 2

      #3
      Hi thanks rabbit
      Can tell me how to "generate a sha1 encoded string using Perl"
      please help it is urgent.

      Comment

      • Rabbit
        Recognized Expert MVP
        • Jan 2007
        • 12517

        #4
        I already told you how.

        Use the Digest::SHA library.

        Comment

        Working...