我不是说英语的人,提前抱歉.
我有一个ColdFusion 6.1应用程序,现在我正在尝试迁移到另一个环境.在ColdFusion应用程序中,我的用户的密码使用ColdFusion函数加密:
password_encrypted=toBase64(encrypt(text,key));
有谁知道如何在PHP中解密它?我不知道CFMX 6.1中使用的密码算法是什么.我认为算法的名称是CFMX_COMPAT
,但我不知道它是否在PHP中具有等价物.
谢谢!!!
我正在尝试在cordova(phonegap)应用中实现Google Auth。
https://firebase.google.com/docs/auth/web/cordova?hl=zh-419
在我的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)