Extract byte array from OLE Object in Access Database
posted 11 months ago
I encrypted password (String) using AES encryption algorithm in Java. The algorithm returns encrypted password in byte array. Then I stored the encrypted password in OLE Object in Access Database. The problem is that when I retrieve the data from OLE Object and store it in a byte array it gives null value or something that I cannot use. How should I proceed to solve the problem? I have checked that the data I am storing in the database is correct and not null so that is not the problem.