GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  CRYPT::RSA::YANDEX (3)

.ds Aq ’

NAME

Crypt::RSA::Yandex - Perl binding to modified RSA library (yamrsa) for encrypting Yandex auth token

CONTENTS

SYNOPSIS



    use Crypt::RSA::Yandex;

    my $crypter = Crypt::RSA::Yandex->new;
    $crypter->import_public_key($pubkey);

    my $encrypted = $crypter->encrypt($text);
   
    # or
    use Crypt::RSA::Yandex ya_encrypt;
    my $encrypted = ya_encrypt($pubkey,$text);



DESCRIPTION

    FUNCTIONAL INTERFACE

None by default.
$encrypted_text = ya_encrypt($key, $text)

    OOP INTERFACE

$crypter = Crypt::RSA::Yandex->new()
$self->import_public_key($key)
$encrypted_text = $self->encrypt($text)

SEE ALSO

http://api.yandex.ru/fotki/doc/overview/authorization-token.xml

AUTHOR

Vladimir Timofeev, <vovkasm@gmail.com>

Mons Anderson, <mons@cpan.org>

COPYRIGHT AND LICENSE

Copyright (c) 2010 by Rambler
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 CRYPT::RSA::YANDEX (3) 2010-11-26

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.