当前位置: 首页>>代码示例>>PHP>>正文


PHP _recaptcha_aes_encrypt函数代码示例

本文整理汇总了PHP中_recaptcha_aes_encrypt函数的典型用法代码示例。如果您正苦于以下问题:PHP _recaptcha_aes_encrypt函数的具体用法?PHP _recaptcha_aes_encrypt怎么用?PHP _recaptcha_aes_encrypt使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了_recaptcha_aes_encrypt函数的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: recaptcha_mailhide_url

function recaptcha_mailhide_url($pubkey, $privkey, $email)
{
    if ($pubkey == '' || $pubkey == null || $privkey == "" || $privkey == null) {
        die("To use reCAPTCHA Mailhide, you have to sign up for a public and private key, " . "you can do so at <a href='http://www.google.com/recaptcha/mailhide/apikey'>http://www.google.com/recaptcha/mailhide/apikey</a>");
    }
    $ky = pack('H*', $privkey);
    $cryptmail = _recaptcha_aes_encrypt($email, $ky);
    return "http://www.google.com/recaptcha/mailhide/d?k=" . $pubkey . "&c=" . _recaptcha_mailhide_urlbase64($cryptmail);
}
开发者ID:naveensnayak,项目名称:recaptcha,代码行数:9,代码来源:recaptchalib.php

示例2: recaptcha_mailhide_url

function recaptcha_mailhide_url($pubkey, $privkey, $email)
{
    if ($pubkey == '' || $pubkey == null || $privkey == "" || $privkey == null) {
        return false;
    }
    $ky = pack('H*', $privkey);
    $cryptmail = _recaptcha_aes_encrypt($email, $ky);
    return "http://www.google.com/recaptcha/mailhide/d?k=" . $pubkey . "&c=" . _recaptcha_mailhide_urlbase64($cryptmail);
}
开发者ID:poef,项目名称:ariadne,代码行数:9,代码来源:recaptchalib.php

示例3: recaptcha_mailhide_url

function recaptcha_mailhide_url($pubkey, $privkey, $email)
{
    if ($pubkey == '' || $pubkey == null || $privkey == '' || $privkey == null) {
        die('To use reCAPTCHA Mailhide, you have to sign up for a public and private key, ' . 'you can do so at <a href="http://mailhide.recaptcha.net/apikey">http://mailhide.recaptcha.net/apikey</a>');
    }
    $ky = pack('H*', $privkey);
    $cryptmail = _recaptcha_aes_encrypt($email, $ky);
    return 'http://mailhide.recaptcha.net/d?k=' . $pubkey . '&c=' . _recaptcha_mailhide_urlbase64($cryptmail);
}
开发者ID:ronando,项目名称:WeBid,代码行数:9,代码来源:recaptchalib.php

示例4:

<?php
开发者ID:kosmosby,项目名称:medicine-prof,代码行数:1,代码来源:recaptchalib.php


注:本文中的_recaptcha_aes_encrypt函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。