小编Cur*_*las的帖子

coldfusion在php中解密

我不是说英语的人,提前抱歉.

我有一个ColdFusion 6.1应用程序,现在我正在尝试迁移到另一个环境.在ColdFusion应用程序中,我的用户的密码使用ColdFusion函数加密:

password_encrypted=toBase64(encrypt(text,key));

有谁知道如何在PHP中解密它?我不知道CFMX 6.1中使用的密码算法是什么.我认为算法的名称是CFMX_COMPAT,但我不知道它是否在PHP中具有等价物.

谢谢!!!

php encryption coldfusion

4
推荐指数
1
解决办法
1280
查看次数

科尔多瓦Firebase Google Auth

我正在尝试在cordova(phonegap)应用中实现Google Auth。

https://firebase.google.com/docs/auth/web/cordova?hl=zh-419

  • 我已经在Firebase xxxx.firebaseapp.com中创建了一个身份验证域
  • 我的应用程序聚合到同一应用程序中的Firebase(我正在使用Firebase进行分析)。
  • 我已启用Firebase动态链接,并且可以查看我的域xxxx.page.link
  • 我已启用Google Sign方法。
  • 我已经安装了所有必需的插件
  • 在我的config.xml中:

    <universal-links>
    <host name="xxxx.page.link" scheme="https" />
    <host name="xxxx.firebaseapp.com" scheme="https">
    <path url="/__/auth/callback"/>
    </host>
    </universal-links>
    <preference name="AndroidLaunchMode" value="singleTask" />
    
    Run Code Online (Sandbox Code Playgroud)

我的登录方法:

var provider = new firebase.auth.GoogleAuthProvider();
firebase.auth().signInWithRedirect(provider).then(function() {
                console.log("hola");
                return firebase.auth().getRedirectResult();
}).then(function(result) {
                // This gives you a Google Access Token.
                // You can use it to access the Google API.
                var token = result.credential.accessToken;
                // The signed-in user info.
                var user = result.user;
                afterLoginGoogle(user);
}).catch(function(error) {
                // Handle Errors here.
                var errorCode …
Run Code Online (Sandbox Code Playgroud)

android oauth cordova firebase

2
推荐指数
1
解决办法
773
查看次数

标签 统计

android ×1

coldfusion ×1

cordova ×1

encryption ×1

firebase ×1

oauth ×1

php ×1