Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Encrypt 15 digit number

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
jerryte

Active User


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

PostPosted: Sat May 17, 2014 1:57 am    Post subject: Encrypt 15 digit number
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10211
Location: italy

PostPosted: Sat May 17, 2014 2:08 am    Post subject: Reply to: Encrypt 15 digit number
Reply with quote

for a good collection of algorithms see
https://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: 646
Location: Pennsylvania

PostPosted: Mon May 19, 2014 6:03 pm    Post subject:
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: 2502
Location: Atlanta, Georgia, USA

PostPosted: Mon May 19, 2014 6:13 pm    Post subject: Reply to: Encrypt 15 digit number
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    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Sequence number add in SORT pshongal SYNCSORT 3 Fri Sep 02, 2016 3:32 pm
No new posts Casting a Binary Number to Numeric in... Bob Steinkraus Java & MQSeries 6 Tue Aug 09, 2016 5:58 pm
No new posts GDG vsersion number change Raghu navaikulam JCL & VSAM 5 Fri May 27, 2016 4:49 pm
No new posts CPU time Vs Number of records Nileshkul JCL & VSAM 5 Mon May 09, 2016 4:05 pm
No new posts Two digit Date format abdulrafi COBOL Programming 6 Fri May 06, 2016 6:51 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us