OSDN Git Service
(root)
/
gikonavigoeson
/
gikonavi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0fdb1f1
)
close #17467
author
h677
<h677>
Sun, 21 Jun 2009 11:42:44 +0000
(11:42 +0000)
committer
h677
<h677>
Sun, 21 Jun 2009 11:42:44 +0000
(11:42 +0000)
新12桁では、+は.(ドット)に置換する仕様見たいなのであわせるようにした。
Trip.pas
patch
|
blob
|
history
diff --git
a/Trip.pas
b/Trip.pas
index
1c2a78a
..
3f6a501
100644
(file)
--- a/
Trip.pas
+++ b/
Trip.pas
@@
-10,7
+10,7
@@
unit Trip;
interface
uses
- SHA1Unit, UBase64, SysUtils;
+ SHA1Unit, UBase64, SysUtils
, MojuUtils
;
type
CryptBlock = record
@@
-504,6
+504,7
@@
begin
//
\90
V
\95
û
\8e
®
StringHashSHA1(digest, pw);
Result := Copy(HogeBase64Encode(digest), 0, 12);
+ Result := MojuUtils.CustomStringReplace(Result, '+', '.');
end;
end;
end;