Anonymous_User Absent Member.
Absent Member.
260 views

how to use AES256 method to encrypt password ?


We are running on

IDM 4.0.2
Suse 11 SP2 x64 platform

We use idm Delimiter Text driver to output user name and password to
xxx.txt file. However, the output is plaintext. My boss suggests to add
AES256 method to encrypt the password, any sample those you may know?
How can I achieve it ?

Many thanks & Regards,

Agnes


--
ayeungied
------------------------------------------------------------------------
ayeungied's Profile: https://forums.netiq.com/member.php?userid=548
View this thread: https://forums.netiq.com/showthread.php?t=48072

Labels (1)
0 Likes
7 Replies
Knowledge Partner
Knowledge Partner

Re: how to use AES256 method to encrypt password ?

ayeungied wrote:

> How can I achieve it ?


Google for "javascript AES encryption"
______________________________________________
https://www.is4it.de/identity-access-management
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: how to use AES256 method to encrypt password ?

On 28.06.2013 05:54, ayeungied wrote:
>
> We are running on
>
> IDM 4.0.2
> Suse 11 SP2 x64 platform
>
> We use idm Delimiter Text driver to output user name and password to
> xxx.txt file. However, the output is plaintext. My boss suggests to add
> AES256 method to encrypt the password, any sample those you may know?
> How can I achieve it ?


The simplest option I can think of is to write an ecmascript function
that takes the pasword and uses some Java encryption functions to
encrypt as AES256.

Although not exactly the same, an example for converting a Java SHA hash
function to ecmascript is:

https://forums.netiq.com/showthread.php?674-Java-code-to-JavaScript-or-Options

You should be able relatively easily adapt something from existing Java
code for AES encryption (google for examples)


--
----------------------------------------------------------------------
Alex McHugh
NetIQ Knowledge Partner http://forums.netiq.com

Please post questions in the forums. No support is provided via email.
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: how to use AES256 method to encrypt password ?


The default JRE is restricted to 128 bit size. You will need to install
Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy
Files 6 to unlock the bit size to 256 bit.

Reference:
http://tinyurl.com/pcfp9qx
http://tinyurl.com/q8vc9fb

dan


--
anja98
------------------------------------------------------------------------
anja98's Profile: https://forums.netiq.com/member.php?userid=1121
View this thread: https://forums.netiq.com/showthread.php?t=48072

0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: how to use AES256 method to encrypt password ?


Thanks a lot to all of you.


--
ayeungied
------------------------------------------------------------------------
ayeungied's Profile: https://forums.netiq.com/member.php?userid=548
View this thread: https://forums.netiq.com/showthread.php?t=48072

0 Likes
Knowledge Partner
Knowledge Partner

Re: how to use AES256 method to encrypt password ?

On 7/3/2013 3:04 AM, ayeungied wrote:
>
> Thanks a lot to all of you.


If you succeed, it would be helpful if you posted back the ECMA you
used, to help out the next person with the same issue.

0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: how to use AES256 method to encrypt password ?

On 03.07.2013 13:17, Geoffrey Carman wrote:
> On 7/3/2013 3:04 AM, ayeungied wrote:
>>
>> Thanks a lot to all of you.

>
> If you succeed, it would be helpful if you posted back the ECMA you
> used, to help out the next person with the same issue.


Or wrote it up as a cool solution.


--
----------------------------------------------------------------------
Alex McHugh
NetIQ Knowledge Partner http://forums.netiq.com

Please post questions in the forums. No support is provided via email.
0 Likes
Knowledge Partner
Knowledge Partner

Re: how to use AES256 method to encrypt password ?

On 7/3/2013 7:22 AM, Alex McHugh wrote:
> On 03.07.2013 13:17, Geoffrey Carman wrote:
>> On 7/3/2013 3:04 AM, ayeungied wrote:
>>>
>>> Thanks a lot to all of you.

>>
>> If you succeed, it would be helpful if you posted back the ECMA you
>> used, to help out the next person with the same issue.

>
> Or wrote it up as a cool solution.


That works too. Do note, that the NetIQ stuff (IDM, NAM, Sentinel, etc)
are on the NetIQ Cool Solutions page now:

https://www.netiq.com/communities/coolsolutions/

Not the Novell cool solution set any longer.
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.