JavaScript – Generating a unique serial number

The following sample illustrates how to generate a unique serial number for a
document. This uses a hash function which is generally useful for JavaScript hackers.


The hash function can be found as a document level script (Tools->Forms->Document JavaScripts). This is useful for producing a fixed length digest or hash of an arbitrarily long string of characters’></p>
<p>  <!-- Cleaned KDA --></p>
	</div><!-- .entry-content -->

	<span class="entry-tags">
		<span class="tag-links"> <a href="https://planetpdf.com/tag/developer/" rel="tag">developer</a> <a href="https://planetpdf.com/tag/development/" rel="tag">development</a> <a href="https://planetpdf.com/tag/javascript/" rel="tag">javascript</a></span>			
			</span><!-- .entry-tags -->

</article><!-- #post-## -->


		<div class="entry-related clear">
			<h3>You May <span>Also Like</span></h3>
			<div class="related-loop clear">
														<div class="hentry">
													<a class="thumbnail-link" href="https://planetpdf.com/best-of-planet-pdf-2-released/" rel="bookmark">
								<div class="thumbnail-wrap">
									<img src="https://planetpdf.com/wp-content/themes/vt-blogging/assets/img/no-thumbnail-2.png" alt="No Picture" />
								</div><!-- .thumbnail-wrap -->
							</a>
										
						<h2 class="entry-title"><a href="https://planetpdf.com/best-of-planet-pdf-2-released/">Best of Planet PDF 2 released</a></h2>
					</div><!-- .grid -->
														<div class="hentry last">
													<a class="thumbnail-link" href="https://planetpdf.com/where-oh-where-are-pdf-digital-signatures-from/" rel="bookmark">
								<div class="thumbnail-wrap">
									<img src="https://planetpdf.com/wp-content/themes/vt-blogging/assets/img/no-thumbnail-2.png" alt="No Picture" />
								</div><!-- .thumbnail-wrap -->
							</a>
										
						<h2 class="entry-title"><a href="https://planetpdf.com/where-oh-where-are-pdf-digital-signatures-from/">Where oh where are PDF digital signatures from?</a></h2>
					</div><!-- .grid -->
							</div><!-- .related-posts -->
		</div><!-- .entry-related -->

	
<div class="author-box clear">
	<a href="https://planetpdf.com/author/ppwp/"><img alt=

About the Author: Planet PDF Team

Leave a Reply