[Firebird-devel] Charset in IExternalProcedureImpl

2017-07-24 Thread Jiří Činčura
Hi *, do I understand correctly that the IExternalProcedureImpl::getCharSet allows me to tell engine in what charset I want the varchar/char values? Because although I have UTF-8 hardcoded there, when I declare procedure parameter as "result varchar(1) character set ascii" I'm getting length==1 in

Re: [Firebird-devel] HASH function (CORE-4436)

2017-07-24 Thread Alex via Firebird-devel
On 22.07.2017 11:54, Mark Rotteveel wrote: On 21-7-2017 13:00, Alex via Firebird-devel wrote: Yes, but SHA1 weakness becomes important only when password becomes as long as hash, i.e. 20 bytes for sha1. Without enforcing users to have long passwords replacing hash makes no sense. That is un