IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Encrypt 15 digit number


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
jerryte

Active User


Joined: 29 Oct 2010
Posts: 202
Location: Toronto, ON, Canada

PostPosted: Sat May 17, 2014 1:57 am
Reply with quote

I am looking for ideas on how to take a 15 digit positive number run an algorithm against it to produce another number that essentially encrypts it. There is not a need to decyprt the number back to its original.

Any thoughts or ideas?
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Sat May 17, 2014 2:08 am
Reply with quote

for a good collection of algorithms see
www.schneier.com/book-applied-source.html
Back to top
View user's profile Send private message
daveporcelan

Active Member


Joined: 01 Dec 2006
Posts: 792
Location: Pennsylvania

PostPosted: Mon May 19, 2014 6:03 pm
Reply with quote

Since there is no need to decrypt the number, you could just generate a random 15 digit number and use that.

Do you really care if it is related to the original?

In fact it is safer. Somebody could potentially determine your algorithm, and reverse engineer it.
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Mon May 19, 2014 6:13 pm
Reply with quote

Google "z/os cryptographic services". You'll get many hits.

It might already be installed and used in your shop.

Check with your z/OS Systems folks.

HTH....
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Pulling a fixed number of records fro... DB2 2
No new posts Substring number between 2 characters... DFSORT/ICETOOL 2
No new posts Generate random number from range of ... COBOL Programming 3
No new posts Increase the number of columns in the... IBM Tools 3
No new posts Cobol program with sequence number ra... COBOL Programming 5
Search our Forums:

Back to Top