<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Great! I will watch that thread as it’s something I’m also interested in knowing more about. Thanks for bringing it up!</div><br class=""><div><blockquote type="cite" class=""><div class="">On Apr 14, 2016, at 2:51 PM, Travis Beech &lt;<a href="mailto:tbeech@unwiredrevolution.com" class="">tbeech@unwiredrevolution.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class="">

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" class="">

<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; font-size: 14px; font-family: Calibri, sans-serif;" class="">
<div class="">
<div class="">
<div class="">Thanks Michael for the input. I realized that after your last response I was indeed mixing terms. I will post up on the swift-corelibs-dev list.</div>
<div class="">
<div id="MAC_OUTLOOK_SIGNATURE" class="">
<div class="">
<div class=""><br class="">
</div>
</div>
<div class="">
<div class="">Travis Beech<span style="font-family: Calibri; font-size: 12px;" class="">&nbsp;|&nbsp;</span><span style="font-size: 12px;" class="">Principal Developer</span><span style="font-family: Calibri; font-size: 12px;" class="">&nbsp;|&nbsp;</span><span style="font-size: 12px;" class="">Unwired Revolution</span><span style="font-family: Calibri; font-size: 12px;" class="">&nbsp;|&nbsp;</span><span style="font-size: 12px;" class="">c:
 1 (209) 535-5357</span></div>
<div class=""><b style="font-family: Calibri; font-size: 12px;" class=""><font color="#0064a1" class="">Optimizing Operations for&nbsp;Mobile and Distributed Systems</font></b></div>
</div>
</div>
</div>
</div>
</div>
<div class=""><br class="">
</div>
<span id="OLK_SRC_BODY_SECTION" class="">
<div style="font-family: Calibri; font-size: 12pt; text-align: left; border-width: 1pt medium medium; border-style: solid none none; padding: 3pt 0in 0in; border-top-color: rgb(181, 196, 223);" class="">
<span style="font-weight:bold" class="">From: </span>&lt;<a href="mailto:milseman@apple.com" class="">milseman@apple.com</a>&gt; on behalf of Michael Ilseman &lt;<a href="mailto:milseman@apple.com" class="">milseman@apple.com</a>&gt;<br class="">
<span style="font-weight:bold" class="">Date: </span>Thursday, April 14, 2016 at 2:49 PM<br class="">
<span style="font-weight:bold" class="">To: </span>Travis Beech &lt;<a href="mailto:tbeech@unwiredrevolution.com" class="">tbeech@unwiredrevolution.com</a>&gt;<br class="">
<span style="font-weight:bold" class="">Cc: </span>David Waite &lt;<a href="mailto:david@alkaline-solutions.com" class="">david@alkaline-solutions.com</a>&gt;, "<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a>" &lt;<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a>&gt;<br class="">
<span style="font-weight:bold" class="">Subject: </span>Re: [swift-evolution] Crypto routines as part of the core library<br class="">
</div>
<div class=""><br class="">
</div>
<div class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<br class="">
<div class="">
<blockquote type="cite" class="">
<div class="">On Apr 14, 2016, at 2:42 PM, Travis Beech &lt;<a href="mailto:tbeech@unwiredrevolution.com" class="">tbeech@unwiredrevolution.com</a>&gt; wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; font-size: 14px; font-family: Calibri, sans-serif;" class="">
<div class="">
<div class="">
<div class="">It should be provided by Swift, not some unknown developer out on Github, no matter how good his\her credentials are. I see core libraries as part of the language runtime. If you look at other modern languages such as Java, crypto is there out
 of the box, you don’t have to do anything extra to get support. No extra jars to download, etc. and that’s how it should be with Swift.</div>
<div class="">
<div id="" class="">
<div class="">
<div class=""><br class="">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<div class=""><br class="">
</div>
<div class="">Ah, I think we have a problem with our definition of terms. When I say “language feature” I’m referring to syntax, semantics, and other compiler enhancements that may be necessary. What you’re describing can be solved entirely in the core libraries without
 direct language or compiler changes. In the case of Java, there is no *language* support, but there library support in the standard included libraries. That is, there is no special syntax or compiler changes to support this, just bundled Java code. This is
 in contrast to, e.g. regular expressions in scripting language like perl or ruby, where there is actual syntax and semantics that make using them easier, as opposed to other languages that just have them in libraries.</div>
<div class=""><br class="">
</div>
<div class="">I think having an official sanctioned, Swift-provided (via the core libraries) crypto library makes sense, but again I’m not familiar with the core libraries. Please also ask on swift-corelibs-dev, as they might know better if there’s already efforts underway.</div>
<div class=""><br class="">
</div>
<br class="">
<blockquote type="cite" class="">
<div class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; font-size: 14px; font-family: Calibri, sans-serif;" class="">
<div class="">
<div class="">
<div class="">
<div id="" class="">
<div class="">
<div class=""></div>
</div>
<div class="">
<div class="">Travis Beech<span style="font-family: Calibri; font-size: 12px;" class="">&nbsp;|&nbsp;</span><span style="font-size: 12px;" class="">Principal Developer</span><span style="font-family: Calibri; font-size: 12px;" class="">&nbsp;|&nbsp;</span><span style="font-size: 12px;" class="">Unwired
 Revolution</span><span style="font-family: Calibri; font-size: 12px;" class="">&nbsp;|&nbsp;</span><span style="font-size: 12px;" class="">c: 1 (209) 535-5357</span></div>
<div class=""><b style="font-family: Calibri; font-size: 12px;" class=""><font color="#0064a1" class="">Optimizing Operations for&nbsp;Mobile and Distributed Systems</font></b></div>
</div>
</div>
</div>
</div>
</div>
<div class=""><br class="">
</div>
<span id="OLK_SRC_BODY_SECTION" class="">
<div style="font-family: Calibri; font-size: 12pt; text-align: left; border-width: 1pt medium medium; border-style: solid none none; padding: 3pt 0in 0in; border-top-color: rgb(181, 196, 223);" class="">
<span style="font-weight:bold" class="">From: </span>&lt;<a href="mailto:milseman@apple.com" class="">milseman@apple.com</a>&gt; on behalf of Michael Ilseman &lt;<a href="mailto:milseman@apple.com" class="">milseman@apple.com</a>&gt;<br class="">
<span style="font-weight:bold" class="">Date: </span>Thursday, April 14, 2016 at 2:38 PM<br class="">
<span style="font-weight:bold" class="">To: </span>Travis Beech &lt;<a href="mailto:tbeech@unwiredrevolution.com" class="">tbeech@unwiredrevolution.com</a>&gt;<br class="">
<span style="font-weight:bold" class="">Cc: </span>David Waite &lt;<a href="mailto:david@alkaline-solutions.com" class="">david@alkaline-solutions.com</a>&gt;, "<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a>" &lt;<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a>&gt;<br class="">
<span style="font-weight:bold" class="">Subject: </span>Re: [swift-evolution] Crypto routines as part of the core library<br class="">
</div>
<div class=""><br class="">
</div>
<div class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<br class="">
<div class="">
<blockquote type="cite" class="">
<div class="">On Apr 14, 2016, at 2:36 PM, Travis Beech &lt;<a href="mailto:tbeech@unwiredrevolution.com" class="">tbeech@unwiredrevolution.com</a>&gt; wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; font-size: 14px; font-family: Calibri, sans-serif;" class="">
<div class="">
<div class="">
<div class="">Core libraries would be a great place, I just think this is a huge oversight in the language itself. I don’t think libraries found out on Github should be trusted, I think crypto should be done in an organized effort to ensure that the implementations
 are proper.</div>
<div class="">
<div id="" class="">
<div class="">
<div class=""><br class="">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">That sounds like a contradiction. “Core libraries would be a great place” and “this is a huge oversight in the language itself”. Could you describe what language-level functionality would be needed here that can’t be adequately addressed by the
 core libraries? Do you know of any major programming language with language level features for crypto support, as opposed to solving it through a library?</div>
<br class="">
<blockquote type="cite" class="">
<div class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; font-size: 14px; font-family: Calibri, sans-serif;" class="">
<div class="">
<div class="">
<div class="">
<div id="" class="">
<div class="">
<div class=""></div>
</div>
<div class="">
<div class="">Travis Beech<span style="font-family: Calibri; font-size: 12px;" class="">&nbsp;|&nbsp;</span><span style="font-size: 12px;" class="">Principal Developer</span><span style="font-family: Calibri; font-size: 12px;" class="">&nbsp;|&nbsp;</span><span style="font-size: 12px;" class="">Unwired
 Revolution</span><span style="font-family: Calibri; font-size: 12px;" class="">&nbsp;|&nbsp;</span><span style="font-size: 12px;" class="">c: 1 (209) 535-5357</span></div>
<div class=""><b style="font-family: Calibri; font-size: 12px;" class=""><font color="#0064a1" class="">Optimizing Operations for&nbsp;Mobile and Distributed Systems</font></b></div>
</div>
</div>
</div>
</div>
</div>
<div class=""><br class="">
</div>
<span id="OLK_SRC_BODY_SECTION" class="">
<div style="font-family: Calibri; font-size: 12pt; text-align: left; border-width: 1pt medium medium; border-style: solid none none; padding: 3pt 0in 0in; border-top-color: rgb(181, 196, 223);" class="">
<span style="font-weight:bold" class="">From: </span>&lt;<a href="mailto:milseman@apple.com" class="">milseman@apple.com</a>&gt; on behalf of Michael Ilseman &lt;<a href="mailto:milseman@apple.com" class="">milseman@apple.com</a>&gt;<br class="">
<span style="font-weight:bold" class="">Date: </span>Thursday, April 14, 2016 at 2:33 PM<br class="">
<span style="font-weight:bold" class="">To: </span>Travis Beech &lt;<a href="mailto:tbeech@unwiredrevolution.com" class="">tbeech@unwiredrevolution.com</a>&gt;<br class="">
<span style="font-weight:bold" class="">Cc: </span>David Waite &lt;<a href="mailto:david@alkaline-solutions.com" class="">david@alkaline-solutions.com</a>&gt;, "<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a>" &lt;<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a>&gt;<br class="">
<span style="font-weight:bold" class="">Subject: </span>Re: [swift-evolution] Crypto routines as part of the core library<br class="">
</div>
<div class=""><br class="">
</div>
<div class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div class="">Why would it need to be built into the language proper instead of the core libraries? I am not too familiar with the core libraries, but perhaps&nbsp;<a href="https://lists.swift.org/mailman/listinfo/swift-corelibs-dev" class="">swift-corelibs-dev</a>&nbsp;is
 the more appropriate mailing list here?</div>
<br class="">
<div class="">
<blockquote type="cite" class="">
<div class="">On Apr 13, 2016, at 7:24 PM, Travis Beech via swift-evolution &lt;<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a>&gt; wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="auto" class="">
<div class="">So what would it take to get a standard set of crypto API's built into the language?<br class="">
<br class="">
<div class="">Travis Beech &nbsp;| &nbsp;Principal Developer &nbsp;| &nbsp;Unwired Revolution &nbsp;| &nbsp;c: 1 (209) 535-5357</div>
<div class="">Optimizing Operations for Mobile and Distributed Systems</div>
</div>
<div class=""><br class="">
On Apr 13, 2016, at 10:11 AM, David Waite &lt;<a href="mailto:david@alkaline-solutions.com" class="">david@alkaline-solutions.com</a>&gt; wrote:<br class="">
<br class="">
</div>
<blockquote type="cite" class="">
<div class="">I don’t know if we need a boost-like parent project in order to start building core code to be brought for inclusion.
<div class=""><br class="">
</div>
<div class="">I think success will naturally bring such a project structure - people seeking a curated and integrated set of frameworks to get common functionality.&nbsp;</div>
<div class="">
<div class=""><br class="">
</div>
<div class="">-DW<br class="">
<div class=""><br class="">
<div class="">
<blockquote type="cite" class="">
<div class="">On Apr 13, 2016, at 12:16 PM, Tino Heth via swift-evolution &lt;<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a>&gt; wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="">
<blockquote type="cite" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
This seems like a great candidate for a library that could be developed in the community and then possibly brought into Corelibs in a future version<br class="">
</blockquote>
<span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">true
 — but sadly, there seems to be either no interest or manpower for a boost-like infrastructure…</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Like
 many other fundamental topics, I don't think crypto belongs to the stdlib, but none the less, there should be a standard library for encryption/hashing.</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">_______________________________________________</span></div>
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</div>
</div>
</blockquote>
</div>
_______________________________________________<br class="">
swift-evolution mailing list<br class="">
<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a><br class="">
<a href="https://lists.swift.org/mailman/listinfo/swift-evolution" class="">https://lists.swift.org/mailman/listinfo/swift-evolution</a><br class="">
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</span></div>
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</span></div>
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</span>
</div>

</div></blockquote></div><br class=""></body></html>