NAME

Crypt::Libmcrypt

VERSION

version 1.0.5

SYNOPSIS

use Crypt::Libmcrypt;

DESCRIPTION

Perl extension for libmcrypt,the mcrypt cryptographic library.

EXPORT

None by default.

Exportable constants

MCRYPT_API_VERSION
MCRYPT_FAILED

Exportable functions

const char * mcrypt_check_version( const char *)
int mcrypt_enc_get_state(MCRYPT td, void *st, int *size)
int *mcrypt_enc_get_supported_key_sizes(MCRYPT td, int *len)
int mcrypt_enc_mode_has_iv(MCRYPT td)
int mcrypt_enc_set_state(MCRYPT td, void *st, int size)
void mcrypt_free(void *ptr)
void mcrypt_free_p(char **p, int size)
int mcrypt_generic(MCRYPT td, void *plaintext, int len)
int mcrypt_generic_deinit(const MCRYPT td)
int mcrypt_generic_end(const MCRYPT td)
int mcrypt_generic_init(const MCRYPT td, void *key, int lenofkey, void *IV)
int mcrypt_module_algorithm_version(char *algorithm,char *a_directory)
int mcrypt_module_close(MCRYPT td)
int mcrypt_module_get_algo_block_size(char *algorithm,char *a_directory)
int mcrypt_module_get_algo_key_size(char *algorithm, char *a_directory)
int *mcrypt_module_get_algo_supported_key_sizes(char *algorithm,char *a_directory,int *len)
int mcrypt_module_is_block_algorithm(char *algorithm,char *a_directory)
int mcrypt_module_is_block_algorithm_mode(char *mode,char *m_directory)
int mcrypt_module_is_block_mode(char *mode, char *m_directory)
int mcrypt_module_mode_version(char *mode, char *a_directory)
MCRYPT mcrypt_module_open(char *algorithm,char *a_directory, char *mode,char *m_directory)
int mcrypt_module_self_test(char *algorithm, char *a_directory)
int mcrypt_module_support_dynamic(void)
void mcrypt_perror(int err)
const char* mcrypt_strerror(int err)
int mdecrypt_generic(MCRYPT td, void *plaintext, int len)

SEE ALSO

MCrypt

AUTHOR

Li ZHOU, <lzh@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2017 by Li ZHOU

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.24.1 or, at your option, any later version of Perl 5 you may have available.