So i've made a work-around to ensure it will be fixed!
#include <Crypt.au3>
_Crypt_Startup()
$sPassword = "YourPasswordHere"
RegWrite("HKCU\Software\Example", "VALUE", "REG_SZ", _Crypt_EncryptData("YourOriginalValueHere", $sPassword, $CALG_AES_256))
_Crypt_DestroyKey($sPassword)
DecryptData()
Func DecryptData()
local $temp = RegRead("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders", "AppData")
Local $regread = RegRead("HKCU\Software\Example", "VALUE")
IniWrite(""&$temp&"\789869654790", "5678", "09346", $regread)
local $regvalue = IniRead(""&$temp&"\789869654790", "5678", "09346", "89023857639300")
Local $sUserKey = "YourPasswordHere"
Local $decrypted = _Crypt_DecryptData($regvalue, $sUserKey, $CALG_AES_256)
Local $Value = BinaryToString($decrypted)
Local $ValueCode = "YourOriginalValueHere"
_Crypt_DestroyKey($sUserKey)
If $Value = $ValueCode Then
FileDelete(""&$temp&"\789869654790")
MsgBox(64, "Correct!", "The values are identical!")
Else
MsgBox(64, "Fail", "The values are not identical! Error: " & @error)
FileDelete(""&$temp&"\789869654790")
EndIf
EndFunc ;==>DecryptData