Реализация MD5 на 1С #209284


#0 by Sj
А кто-нибудь видел реализацию алгоритма MD5 на языке 1С? Или это миф придуманный молодыми пьяными программистами?
#1 by Rom_Kat
че за алгоритм?:)
#2 by zxcvb
#3 by smaharbA
хочешь хеши получать ?
#4 by Sj
ну это не основная цель. мне нужно генерить новый пароль в зависимости от текущей даты
#5 by Sj
например
#6 by Морозов Александр
а чего паролить собрался?... шифровать вернее?
#7 by Sj
например 29.08.2006 возвращает мне ABC2C7D0BFA7BE6C35ECC7D3C15F391F а 30.08.2006 4EAA17BEBDCE631312FF11093B10434E что весьма и весьма то, что надо!
#8 by Sj
паролить изменение константы
#9 by Морозов Александр
с тебя 10 баксов
#10 by GrayT
МД5 это только для кэш-кода или он и шифровать/вешифровать могет?
#11 by romix
Моя разработка (с исходником Delphi 6): Только хеш. Для шифровки есть другие алгоритмы, например, RC6.
#12 by Злобный
для можно например так :)        | * Version 2.1 Copyright (C) Paul Johnston 1999 - 2002.        | * See for more info.        | */        |        | * the server-side, but the defaults work in most cases.        |var hexcase = 0;  /* hex output format. 0 - lowercase; 1 - uppercase        */        |var b64pad  = """"; /* base-64 pad character. ""="" for strict RFC compliance   */        |var chrsz   = 8;  /* bits per input character. 8 - ASCII; 16 - Unicode      */        |        |}        |        |/*        | * These functions implement the four basic operations the algorithm uses.        |        | * If chrsz is ASCII, characters >255 have their hi-byte silently ignored.        |/*        | * Convert an array of little-endian words to a hex string.
#13 by Sj
Ух! Спасибища в две тонны!!!!
#14 by Рупор2
Третья тонна: <script> /* Javascript implementation of the RSA Data Security, Inc. MD5 * Message-Digest Algorithm. * * Copyright (c) 1996 Henri Torgemane. All Rights Reserved. * * Permission to use, copy, modify, and distribute this software * and its documentation for any purposes and without * fee is hereby granted provided that this copyright notice * appears in all copies. */ } /* Some basic logical functions had to be rewritten because of a bug in * Javascript.. Just try to compute 0xffffffff >> 4 with it.. * Of course, these functions are slower than the original would be, but * at least, they work! */ function integer(n) { return n%(0xffffffff+1); } } } } /* Here begin the real algorithm */ var state = new array; var count = new array; var buffer = new array; var transformBuffer = new array; var digestBits = new array; } } var bits = new array; } } /* End of the MD5 algorithm */ } </script>
#15 by Sj
ну это уже за гранью реальности!
Тэги:
Ответить:
Комментарии доступны только авторизированным пользователям