Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 194
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

Senior Member


Joined: 14 Mar 2007
Posts: 10535
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: 714
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: 2504
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 Accessing control blocks to retrieve ... menonkiran COBOL Programming 4 Wed Nov 14, 2018 9:08 pm
No new posts Get line number where cursor is from ... satish.ms10 CLIST & REXX 3 Wed Oct 24, 2018 12:23 am
No new posts Number of Packages required for stati... manojthokala7 DB2 4 Mon Sep 17, 2018 7:14 pm
No new posts Add Comma to each record until find t... naveensrimf DFSORT/ICETOOL 6 Sat Jul 28, 2018 12:25 am
No new posts Question about dataset sequence numbe... harisukumaran JCL & VSAM 23 Tue May 29, 2018 9:31 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us