Re: Working with ENCRYPT() function...

2012-04-24 Thread Joe Martin D'Souza
, April 24, 2012 3:12 PM Newsgroups: public.remedy.arsystem.general To: arslist@ARSLIST.ORG Subject: Re: Working with ENCRYPT() function... ** But wait - are you trying to get the length of the output from the encrypt function that you run within Remedy. If that is the case you can just run the

Re: Working with ENCRYPT() function...

2012-04-24 Thread Michael Latham
so use what you need toss what you don't. Mike From: mlatha...@hotmail.com To: arslist@arslist.org Subject: RE: Working with ENCRYPT() function... Date: Tue, 24 Apr 2012 14:17:39 -0400 Hey Joe - Here is some code I ran in Netbeans without error in order to test the DES encryption to

Re: Working with ENCRYPT() function...

2012-04-24 Thread Michael Latham
byte[] utf8 = dcipher.doFinal(dec); // create new string based on the specified charset return new String(utf8, "UTF8");}catch (Exception e) { } return null;} } END OF CODE From: mlatha...@hotmail.com To: arslist

Re: Working with ENCRYPT() function...

2012-04-23 Thread Michael Latham
Subject: Re: Working with ENCRYPT() function... To: arslist@ARSLIST.ORG ** Good to hear from you too Michael.. I’m back in the downtown area these days – haven’t worked in this area since we last worked together at Nomura about 7 years ago. Time flies eh? I’m about 2 or 3 blocks away from

Re: Working with ENCRYPT() function...

2012-04-23 Thread Joe Martin D'Souza
chael Latham Sent: Monday, April 23, 2012 9:48 AM Newsgroups: public.remedy.arsystem.general To: arslist@ARSLIST.ORG Subject: Re: Working with ENCRYPT() function... ** I have been good Joe. Just doing the usual Remedy consultant thing. And you? I see you are an arslist superstar by looking at your

Re: Working with ENCRYPT() function...

2012-04-23 Thread Michael Latham
:06:38 -0400 From: jdso...@shyle.net Subject: Re: Working with ENCRYPT() function... To: arslist@ARSLIST.ORG ** Yes I was interested in the character count as if I encrypted the input, I’d need to consider enough room for storage. I was tempted to build a 254 character field to store it, but

Re: Working with ENCRYPT() function...

2012-04-20 Thread Joe Martin D'Souza
: Working with ENCRYPT() function... ** Hey Joe - How have things been since Nomura - if you remember me from that project and you are in fact the same Joe De'Souza. To move along, encryption algorithms vary. If I am not mistaken Remedy ARS uses DES block-cipher encryption in the EN

Re: Working with ENCRYPT() function...

2012-04-20 Thread Michael Latham
Also check out this stackoverflow.com question: http://stackoverflow.com/questions/457193/length-of-encrypted-string I think it may be relevant to your question in a general sense. Date: Fri, 20 Apr 2012 13:48:37 -0400 From: jdso...@shyle.net Subject: Working with ENCRYPT() function... To

Re: Working with ENCRYPT() function...

2012-04-20 Thread Michael Latham
o back and forth with the encryption/decryption. By the way, why do you need to know the length of the output string? I am assuming when you say length you mean character count or something similar. Mike Date: Fri, 20 Apr 2012 13:48:37 -0400 From: jdso...@shyle.net Subject: Working with

Working with ENCRYPT() function...

2012-04-20 Thread Joe Martin D'Souza
Is there a known algorithm to calculate the length of the output results of ENCRYPT based on the length of the input string and the encryption key parameters? I vaguely remember that the length is 120. Or is that only the length of the encrypted value in Field 123? Also how would one decrypt