Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Crypt::RSA::Yandex(3) User Contributed Perl DocumentationCrypt::RSA::Yandex(3)

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

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

perl v5.32.0			  2010-11-26		 Crypt::RSA::Yandex(3)

NAME | SYNOPSIS | DESCRIPTION | SEE ALSO | AUTHOR | COPYRIGHT AND LICENSE

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Crypt::RSA::Yandex&sektion=3&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help