암호화
ThingWorx에서는 사용자 정의 서비스에서 사용할 암호화 서비스 및 기능을 기본 제공합니다. 암호화 방법과 암호 해독 방법은 각각 암호화 또는 암호 해독에 사용되는 키 때문에 호환되지 않습니다. 암호화에 올바른 방법을 사용해야 합니다. 다음 표에서는 어떤 암호화 해제 방법에 어떤 암호화 방법이 함께 사용될 수 있는지를 보여줍니다.
암호화/암호화 해제 API
상호 대립 호환 가능 API
EncryptionServices.Encrypt
EncryptionFunctions.encryptString
없음
EncryptionServices.EncryptPropertyValue
EncryptionFunctions.encryptPropertyValue
직접 대립되는 것이 없습니다. 그러나 Extension SDK에서 다음을 사용할 수 있습니다. BaseTypes.ConvertToPrimitive, PasswordPrimitive.convertFromObject, PasswordPrimitive.getDecryptedValue
EncryptionServices.EncryptWithKey
EncryptionServices.DecryptWithKey
EncryptionServices.DecryptWithKey
EncryptionServices.EncryptWithKey
EncryptionFunctions.encryptStringWithKey
EncryptionFunctions.decryptStringWithKey
EncryptionFunctions.decryptStringWithKey
EncryptionFunctions.encryptStringWithKey
EncryptionFunctions.base64EncodeString
EncryptionFunctions.base64DecodeString
EncryptionFunctions.base64DecodeString
EncryptionFunctions.base64EncodeString
EncryptionFunctions.base64EncodeBytes
EncryptionFunctions.base64DecodeBytes
EncryptionFunctions.base64DecodeBytes
EncryptionFunctions.base64EncodeBytes