PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: Michael Peppler <mpeppler at peppler dot org>
Subject: RE: compilation error for script
Date: May 3 2002 3:20PM

Received: from taku.cren.net (taku.cren.net [128.8.10.25]) by
	troll.peppler.org (8.11.6/8.11.6) with ESMTP id g43FLRC25709 for
	; Fri, 3 May 2002 08:21:27 -0700
Received: from localhost (localhost [127.0.0.1]) by taku.cren.net
	(Pro-8.9.3/Pro-8.9.3) with SMTP id LAA22846; Fri, 3 May 2002 11:20:30 -0400
	(EDT)
Received: from troll.peppler.org (gw.peppler.org [206.55.243.57]) by
	taku.cren.net (Pro-8.9.3/Pro-8.9.3) with ESMTP id LAA22836 for
	; Fri, 3 May 2002 11:20:17 -0400 (EDT)
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by
	troll.peppler.org (8.11.6/8.11.6) with ESMTP id g43FKGC25705 for
	; Fri, 3 May 2002 08:20:16 -0700
Subject: RE: compilation error for script
From: Michael Peppler 
To: SybPerl Discussion List 
In-Reply-To:  <2C09BFA69918D411BEC100A0C9EA41940C717523@mbs-mail-08.mortgagesvcs.com>
References:
	  <2C09BFA69918D411BEC100A0C9EA41940C717523@mbs-mail-08.mortgagesvcs.com>
Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-fy5Ne/r+iqesbI0Oayfk"
X-Mailer: Ximian Evolution 1.0.3 
Date: 03 May 2002 08:20:16 -0700
Message-Id: <1020439216.15376.77.camel@troll>
Mime-Version: 1.0
Reply-To: SYBPERL-L@list.cren.net
Sender: owner-SYBPERL-L@list.cren.net
X-Listprocessor-Version: 8.2.09/990901/11:28 -- ListProc(tm) by CREN
X-Filter: mailagent [version 3.0 PL73] for mpeppler@peppler.org
X-Evolution-Source: mbox:/var/spool/mail/mpeppler

--=-fy5Ne/r+iqesbI0Oayfk
Content-Type: multipart/mixed; boundary="=-gtJeurslmwqEKlGKYv+h"

--=-gtJeurslmwqEKlGKYv+h
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Fri, 2002-05-03 at 07:52, Sabherwal, Balvinder (MBS) wrote:
>=20
>=20
> >>Is there any specific reason for you to use perlcc on this file?
>=20
> I am working on a perl module to encript and decrypt the passwords to pass
> to the calling scripts. The module is using a string to exncrypt and decr=
ypt
> which I want to hide from everyone.
>=20
> Is there a better way to this as I can't even convert the script to bytec=
ode
> also.

Just build the encrypt/decrypt routines in C using an XS module, and
leave the rest in perl.

Note that anyone can still view the password if it is stored in clear in
the C code - just use strings(1) on the file.

Attached is a basic Sybase::PWD module - just add whatever needs to be
done in the encode() and decode() functions in the PWD.xs file.

Michael
--=20
Michael Peppler                              Data Migrations, Inc.
mpeppler@peppler.org           *or*          mpeppler@mbay.net
http://www.mbay.net/~mpeppler
International Sybase User Group: http://www.isug.com

--=-gtJeurslmwqEKlGKYv+h
Content-Disposition: attachment; filename=Sybase-PWD-0.01.tar.gz
Content-Type: application/x-gzip; name=Sybase-PWD-0.01.tar.gz
Content-Transfer-Encoding: base64

H4sICEaq0jwCA1N5YmFzZS1QV0QtMC4wMS50YXIA7Rn9c+K2Mr+iv2IfyYyT
XGJsPkIPJp0jwXfHawJMIHfXaTtU2AI8MZZrySG8vPzvbyXbhCNz7etMy9xc
2QF/SLsr7a60u1oPlmMq2Gn/Y/vUMi27tPc3gGVVrXqthvd6uXpWxrtl2dWq
vmewZ9WrZ9VauWZbiGdXrHp9D2p7W4BESBoD7M0jFkUBi7+Mx2Kx983BYMP+
+GA+/MVyWrZlnWl7P9vfssu5/W27js9nlVq1flbFhYH4Vatq74H1Ndl/MWMs
+PbsXzqG0+PTS/zDcYmQfX/isQmMRm4UJEL9CXuQLA6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Ne/r+iqesbI0Oayfk
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQA80qqwNKNiBIwXU/oRAmr0AJ9dSoh/vGDAUit8iMj11bcAEWaElQCdGMBV
ilUThgFQtoxVobe5Fop+3cg=
=glqU
-----END PGP SIGNATURE-----

--=-fy5Ne/r+iqesbI0Oayfk--