

	>Hi all,

	>I'm trying to create a type password; the goal is to have a table
like:

	>CREATE TABLE test (
	>username varchar,
	>pass passwd);

	>insert into test values ('me','secret');

	>and have "secret" being automagicly crypted.

	>What I want is to mimic the PASSWORD function of mysql but much
better,
	>not having to call a function.

	>I just can't figure how to write the xx_crypt(opaque) returns
opaque
	>function.

	>Any help available???

	>TIA

	I have function for crypt password in MD5(c - function). Are you
need it.

	Valery Krotenko. 



Tue, 30 May 2000 23:38:11 +0400
"Krotenko Valery V." <vitas@Etr.ru>
RE: New Type