1NAME 2 Crypt::RSA::Yandex - Perl binding to modified RSA library (yamrsa) for 3 encrypting Yandex auth token 4 5SYNOPSIS 6 use Crypt::RSA::Yandex; 7 8 my $crypter = Crypt::RSA::Yandex->new; 9 $crypter->import_public_key($pubkey); 10 11 my $encrypted = $crypter->encrypt($text); 12 13 # or 14 use Crypt::RSA::Yandex 'ya_encrypt'; 15 my $encrypted = ya_encrypt($pubkey,$text); 16 17DESCRIPTION 18 FUNCTIONAL INTERFACE 19 None by default. 20 21 $encrypted_text = ya_encrypt($key, $text) 22 23 OOP INTERFACE 24 $crypter = Crypt::RSA::Yandex->new() 25 $self->import_public_key($key) 26 $encrypted_text = $self->encrypt($text) 27 28SEE ALSO 29 http://api.yandex.ru/fotki/doc/overview/authorization-token.xml 30 31AUTHOR 32 Vladimir Timofeev, <vovkasm@gmail.com> 33 34 Mons Anderson, <mons@cpan.org> 35 36COPYRIGHT AND LICENSE 37 Copyright (c) 2010 by Rambler 38 39