
Closed
Posted
Paid on delivery
This project centers on a brand-new MS SQL Server CLR-based User Defined Function that performs format-preserving encryption (tokenization) of Personal Identifiable Information. The primary goal of this engagement is to validate that the CLR UDF architecture meets the required throughput target. The cryptographic implementation may use an existing FF1/FF3-1 library or a lightweight placeholder — what must be proven is that the SQL Server CLR layer can sustain the expected load at scale. Every line will be written from scratch and staged in our Development environment. Scope • Implement FF1 and FF3-1 per NIST SP 800-38G in C#. An existing open-source library is acceptable provided it is fully managed and compatible with SQL CLR deployment. • Wrap the algorithms in a MS SQL Server-compatible CLR assembly exposed as a scalar UDF, alongside a batch/TVF path for bulk operations. Both interfaces must be delivered and need to be benchmark. • Engineer bulk-load logic so that inserting and tokenizing 1 million rows across three columns finishes in under 40 seconds on commodity hardware. • Provide unit tests and a demo script that tokenizes sample PII and then reverses it to verify correctness. • Support the following character sets initially: numeric, alphanumeric, email address, and date. Character set definitions must be externalized and registerable without modifying the core FF1/FF3-1 implementation. Key Management Architecture • Keys may be hardcoded for now to keep development simple • However, the architecture must be ready for external key retrieval • The interface must be designed to accommodate an external REST API call without touching the FF1/FF3-1 core or the batch logic • Retrieved keys will be cached in CLR static memory within the SQL Server process to avoid per-row API calls. The cache implementation must be thread-safe Deployment Target • Use EXTERNAL_ACCESS for CLR Security Level. The UDF will eventually make outbound calls to our internal key management service to retrieve encryption keys. • Target minimum: SQL Server 2019 Acceptance criteria 1. Deterministic, reversible ciphertext that preserves the original character set and length. 2. End-to-end benchmark (insert + tokenize) ≤ 40 s for 1 M × 3 columns. 3. Scalar UDF interface functional and tested for row-level use. 4. Source code, deployment script, and README delivered within one month. Feel free to employ any performant cryptographic primitives or parallelization techniques, provided they remain fully managed and safe for SQL CLR deployment.
Project ID: 40499001
101 proposals
Remote project
Active 2 days ago
Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
101 freelancers are bidding on average $521 USD for this job

Targeting a 40 second window for tokenizing 1 million rows across three columns requires moving beyond standard scalar UDFs. Because SQL Server calls scalar functions row by row, the overhead often eats the performance budget before the FF1 or FF3-1 logic even runs. I have built similar high performance logic, including a Python-based deterministic engine that prioritized absolute accuracy and auditability for critical data decisions. For your SQL Server 2019 environment, I will implement a Table-Valued Function (TVF) to handle the bulk logic. This allows us to process data in memory buffers rather than individual calls. I plan to use thread-safe static collections for your future KMS key caching to ensure we never hit a REST bottleneck during a sub-40 second run. I can put together a quick production-ready SQL CLR assembly for free so you can see the approach first. Rajesh
$500 USD in 7 days
8.7
8.7

Hello, I've built CLR-based SQL functions for data encryption and format-preserving operations before. This is straightforward work if you know the CLR integration points and C# cryptography libraries—we do. We've been shipping database and backend systems for years, handling everything from complex data pipelines to custom SQL extensions. MS SQL CLR development, C# cryptography, parallel processing in managed code—these aren't edge cases for us, they're standard work. The portfolio shows our range, but CLR-UDF projects like this one are exactly the kind of focused, technical work we do regularly. The bid range is a starting point. Once we nail down whether you need FPE with specific cipher modes, how the function gets called (batch vs. real-time), and documentation scope, I'll give you a real number. Let's jump on a quick call so I can ask about your data volume, performance targets, and any existing SQL schema constraints. That'll take 15 minutes and get us to a solid estimate. Message me whenever you're ready. Regards, Nurul Hasan
$250 USD in 21 days
6.9
6.9

SURE----------------I Will develop a high-performance SQL CLR solution implementing NIST-compliant FF1 and FF3-1 format-preserving encryption from scratch, with deterministic, reversible tokenization and optimized bulk-processing for large-scale datasets. Experienced in C#, SQL Server CLR development, cryptographic implementations, performance optimization, and enterprise-grade data security. I’ll deliver clean source code, deployment scripts, benchmarking, unit tests, and complete documentation within your timeline. Please ping me to discuss further and deliver exceptional results. Thanks!!!
$700 USD in 7 days
7.0
7.0

Hello, I understand you require a high-performance SQL CLR function for format-preserving encryption. Operationally, data will be bulk-loaded, and a stored procedure will apply the CLR UDF to tokenize PII columns, processing 1 million rows across 3 columns in under 40 seconds. The key is balancing a NIST-compliant FF1/FF3-1 implementation with extreme bulk-processing performance. Technical approach: We will build the FF1/FF3-1 logic from scratch in C, using AES as the primitive. This will be wrapped in a deterministic scalar UDF within a CLR assembly. Performance will be achieved not by calling the UDF in a SELECT statement, but via a dedicated stored procedure that manages batching for the mass update operation. Core modules: 1) A core C library containing the NIST FPE algorithm implementation. 2) A SQL CLR assembly exposing the encryption as a scalar function. 3) A high-performance stored procedure for bulk tokenization tasks. 4) Unit tests for the crypto core and a T-SQL verification script. Relevant systems: We have direct experience implementing complex, high-strength cryptography, including the 512-bit ECC used in our SecureCom communication platform, which required strict adherence to mathematical and security specifications. Implementation strategy: First, we'll build and unit-test the C crypto library against NIST vectors. Second, we integrate it as a CLR UDF. The final phase will focus entirely on performance tuning the bulk processing scripts on your dev environment to meet the sub-40s benchmark. Regards, Rohit
$250 USD in 25 days
6.3
6.3

Hello! Thanks for providing detailed information about your project. It instantly grabbed my attention because it combines high-performance SQL Server development, SQL CLR, and C# engineering—areas where I have extensive experience. I’m a Senior SQL Server DBA, Database Developer & Data Engineer with 10+ years of experience building enterprise-grade SQL Server solutions, SQL CLR integrations, and performance-critical database applications. I can help you: • Implement FF1 and FF3-1 algorithms in C# • Develop a SQL Server CLR assembly exposed as UDFs • Optimize bulk tokenization performance for high-volume workloads • Create deployment scripts, unit tests, and validation utilities • Deliver clean, maintainable, and documented source code My experience includes: • SQL Server 2008–2022 development • SQL CLR and .NET optimization • High-performance T-SQL and UDF development • Large-scale ETL and data-processing systems The most interesting part of your project is the 1M rows × 3 columns ≤ 40-second requirement. I have extensive experience identifying bottlenecks and optimizing SQL Server workloads to meet aggressive performance targets. Quick question: • Which SQL Server version will host the CLR assembly, and are CLR strict security settings enabled? I’m confident I can help design a fast, scalable, and production-ready solution. Kind Regards, Shafir Senior SQL Server DBA & Database Developer Top Rated Freelancer (Top 3%)
$750 USD in 10 days
6.5
6.5

⭐⭐⭐⭐⭐ Create Secure Tokenization for PII Using MS SQL Server CLR Functions ❇️ Hi My Friend, I hope you are doing well. I just reviewed your project requirements and see you are looking for a developer to create a format-preserving encryption solution for Personal Identifiable Information. You have no need to look any further as Zohaib is here to help you! My team has successfully completed 50+ similar projects for encryption and tokenization. I will build a robust CLR-based User Defined Function that meets your specifications, ensuring efficiency and security. ➡️ Why Me? I can easily handle your project as I have 5 years of experience in C# development, specializing in SQL Server CLR functions, encryption, and data processing. My expertise includes implementing cryptographic algorithms, optimizing performance, and creating unit tests. Not only this, I have a strong grip on SQL Server, REST APIs, and batch processing, ensuring a comprehensive approach to your project. ➡️ Let's have a quick chat to discuss your project in detail and let me show you samples of my previous work. Looking forward to discussing with you in chat. ➡️ Skills & Experience: ✅ C# Development ✅ SQL Server CLR ✅ Encryption Techniques ✅ Tokenization ✅ Performance Optimization ✅ REST API Integration ✅ Unit Testing ✅ Batch Processing ✅ Data Security ✅ Cryptographic Algorithms ✅ Code Deployment ✅ Documentation Waiting for your response! Best Regards, Zohaib
$350 USD in 2 days
6.4
6.4

I'm confident that I'm the perfect fit for this significant project. Not only do I have exceptional skills in C# programming, which is vital for your project, but my all-inclusive understanding of the IT industry puts me miles ahead in delivering world-class solutions. Over time, I have developed a unique ability to solve complex challenges with scalable, secure, and efficient technologies. It would be my utmost delight to work with you on this groundbreaking project that has immeasurable potential.
$250 USD in 2 days
5.8
5.8

Hi there, I understand you need a SQL Server 2019 CLR scalar UDF written in C# from scratch to perform deterministic, reversible FF1 and FF3-1 format-preserving encryption for PII while preserving length and character set. I have experience with C#, SQL Server CLR assemblies, cryptographic implementation patterns, high-throughput batch processing, unit testing, deployment scripting, and performance-focused database integrations. I would build the FF1/FF3-1 core separately from the SQL CLR wrapper, add bulk-tokenization support, prepare EXTERNAL_ACCESS key-retrieval architecture with static key caching, and deliver tests, demo scripts, benchmarks, deployment scripts, and README documentation. Q1: Which PII formats should be prioritized first, such as SSN, phone, email, or account numbers? Q2: Should the first benchmark use a scalar UDF only, or can we include optimized batch/staging procedures? Q3: Do you already have preferred test vectors for FF1/FF3-1 validation? Best regards.
$500 USD in 7 days
5.9
5.9

Hi there, In this project, the real challenge isn't implementing FF1/FF3-1 itself—it's making sure the SQL CLR layer can handle format-preserving tokenization at the throughput you're targeting while remaining flexible for future key management integrations. My approach would be to build both the Scalar UDF and bulk-processing TVF paths in C#, implement FF1/FF3-1 with support for numeric, alphanumeric, email, and date formats, and keep the encryption layer independent from the key retrieval layer. Since you're planning to use EXTERNAL_ACCESS later, I would also introduce a thread-safe cache so external keys can be retrieved once and reused efficiently during bulk operations. Once the core pipeline is in place, I'll focus on benchmarking and optimization against the 1M × 3 column target, validate reversibility and format preservation, and deliver the deployment scripts, tests, and documentation required for rollout. I would request to connect once so we can discuss the benchmark environment, hardware profile, and a few implementation details before getting started. Thanks, Rahul A.
$330 USD in 28 days
5.9
5.9

Hi, I am a C# and MS SQL Server developer with 8 years of rich experience. I am familiar with C#, MS SQL Server, SQL CLR, Cryptography, and Parallel Processing. For this project, the most important part is achieving both correct FF1/FF3-1 implementation and high-speed tokenization at scale. I can build an optimized SQL CLR solution with efficient batch processing, memory caching, and a flexible architecture that supports future REST-based key retrieval without changing the encryption core. I'm an individual freelancer and can work on any time zone you want. Please contact me with the best time for you to have a quick chat. Looking forward to discussing more details. Thanks. Emile.
$750 USD in 7 days
5.5
5.5

Your 40-second benchmark will fail if you rely on row-by-row CLR calls - SQL Server context switches kill throughput at scale. I've built NIST-compliant FPE systems for healthcare clients where a naive implementation took 8 minutes for 1M rows, then dropped to 22 seconds after batching crypto operations in memory and minimizing CLR boundary crossings. Before architecting the solution, I need clarity on two constraints: What is your SQL Server edition and CLR trust level (SAFE vs UNSAFE assembly)? Does your key management strategy require HSM integration or will AES-256 key wrapping in the database suffice? Here is the execution plan: - FF1/FF3-1 IMPLEMENTATION: Build NIST SP 800-38G algorithms in C# using AES-NI hardware acceleration via RijndaelManaged, with radix optimization for alphanumeric and numeric domains to maintain format preservation. - CLR BATCH WRAPPER: Design a table-valued function that accepts DataTable inputs, processes crypto operations in parallel using TPL Dataflow blocks, then bulk-inserts tokenized results to bypass per-row invocation overhead. - PARALLEL PROCESSING: Implement partition-based threading where each core handles 250K row chunks independently, with lock-free queues feeding the AES cipher to saturate CPU without contention. - BENCHMARK TUNING: Profile with SQL Profiler to eliminate tempdb spills, add columnstore indexes on staging tables, and use TABLOCK hints during bulk insert to hit your 40-second target. I bring 12 years of cryptographic engineering experience including two HIPAA-compliant tokenization systems that processed 50M records daily. Let's schedule a 15-minute call to discuss your key rotation strategy and whether you need audit logging before I draft the technical spec.
$450 USD in 10 days
5.7
5.7

Two things jumped out: FF1 and FF3-1 per NIST SP 800-38G, and the hard ceiling of tokenizing 1M rows across three columns in under 40 seconds. The crypto core is the easy part. Hitting that benchmark inside SQL CLR without going unsafe is where most implementations fall over. Here's how I'd approach it: 1. Build the FF1/FF3-1 cipher in pure managed C#, with the AES round function backed by the framework's CSP so it stays SAFE for CLR deployment. 2. Expose it as a scalar UDF, then add a batch wrapper so tokenizing happens set-based, not row-by-row, with parallel partitioning across the three columns. 3. Ship unit tests plus a demo script that tokenizes sample PII and reverses it to prove the round-trip. The 40s target is won or lost on call overhead. The scalar UDF per-row cost is the trap, so I'd benchmark a streaming TVF path early as a fallback. Done = insert + tokenize of 1M x 3 finishes under 40s on commodity hardware, ciphertext reversible and length/charset preserving. I can deliver this in 7 days for $550, well inside your one-month window. Source, deployment script, and README included. One choice up front: do you want the tweak/radix configurable per column, or a single fixed character set across all three? P.S. FF3-1 caps the tweak at 56 bits (the fix from the original FF3 attack). I'd validate that at assembly load so a bad tweak fails fast instead of weakening the encryption silently. Waqar
$550 USD in 7 days
5.0
5.0

Greetings! I will implement FF1 and FF3 1 format preserving encryption in C sharp as a SQL Server CLR UDF for tokenizing PII. I will include batch logic for 1 million rows across 3 columns in under 40 seconds, unit tests, demo script, and external key retrieval interface with caching. Target SQL Server 2019. Send your test environment access. Thanks, Revival
$250 USD in 7 days
4.8
4.8

Hello, I have experience with C#, SQL Server CLR development, high-performance data processing, and cryptographic implementations. I can build a SQL Server 2019-compatible CLR solution that exposes both scalar UDF and bulk-processing interfaces while focusing on the primary objective: validating throughput and scalability under the required load. Proposed approach: • Implement FF1 and FF3-1 (NIST SP 800-38G) using a managed C# library or vetted implementation • Create SQL CLR scalar UDF and table-valued/batch interfaces • Design extensible character-set registry (numeric, alphanumeric, email, date) • Implement thread-safe key provider abstraction with static in-process caching ready for future REST-based key retrieval • Optimize bulk tokenization path for 1M × 3 column benchmark targets • Deliver benchmark harness, deployment scripts, unit tests, and validation scripts • Target SQL Server 2019 with EXTERNAL_ACCESS compatibility Deliverables: • CLR assembly source code • SQL deployment scripts • Unit and performance tests • Benchmark report • Documentation and architecture notes • Demo scripts for tokenization and reversal validation Estimated timeline: 3–4 weeks including implementation, optimization, benchmarking, and documentation. I would be happy to discuss benchmark methodology, expected hardware specifications, and any deployment constraints before kickoff. Best regards, M. Rizwan LA
$500 USD in 7 days
4.9
4.9

Hi, Your project to develop a high-performance MS SQL Server CLR User Defined Function for format-preserving encryption of PII is compelling, and I’m confident in delivering exactly that. I have extensive experience in C# development, SQL CLR integration, cryptographic implementations, and optimizing high-volume data processes to meet demanding performance benchmarks. I will implement FF1 and FF3-1 algorithms per NIST SP 800-38G fully from scratch, ensuring the encryption is deterministic and reversible with format preservation. Leveraging multi-threading and optimized bulk load techniques, I’ll target a comprehensive solution that can tokenize 1 million rows across three columns in under 40 seconds. Unit tests and a demonstration script will accompany the delivery to validate correctness. I can commit to delivering source code, deployment scripts, and documentation within one month. Starting with a detailed project plan will help align on the benchmarks and deployment environment. What commodity hardware specifications will the solution be benchmarked against? Best regards,
$555 USD in 13 days
4.4
4.4

Hello, As a highly skilled C# developer, I possess the expertise required to execute this project with utmost precision. Over the years, I have tackled complex web development tasks similar to yours and emerged successful. I have a comprehensive grasp of cryptography and found my knowledge of it pivotal in resolving many similar data protection tasks. I understand your need for a correctly applied tokenization technique that is both deterministic and reversible while considering scalability. This aligns perfectly with my experience in handling PII data management and encryption-based operations for databases. On top of that, deploying secure solutions has always been my top priority; this project is no exception. My exemplary time management skills guarantee timely delivery of projects without comprising quality. With the GitHub repository attached to this platform, you'll get the necessary visibility throughout all project development stages. When awarded this project rest assured you'll be given nothing short of the best and technically sound solution meeting all project expectations efficiently. Best regards
$300 USD in 7 days
4.5
4.5

With over 6 years' expertise in full stack development including C# Programming, Data Management, Software Development, and Software Engineering, I can confidently approach and successfully deliver your High-Performance MS SQL CLR FPE UDF project. My career has seen me build scalable, robust backend systems like the one you're seeking to implement with strong frontends designed around React JS. Additionally, I offer a holistic approach to development from crafting clean, well-documented code to impeccable post-launch support and maintenance. Part of my process is looking not only at individual components but also their interactions within the entire structure. Given this; the high-security nature of your project, thus needing external key management Don't risk compromising data integrity and performance on an inexperienced hand; choose me to deliver a secure, high-performance, fully functional High-Performance MS SQL CLR FPE UDF in C# for your organization. Let's connect and bring your vision to life with an expert-designed and tech-driven solution that truly represents your brand and maintains an unrivaled level of security!
$250 USD in 1 day
4.6
4.6

I can implement this end-to-end as a secure FPE/tokenization solution with a .NET 8 core library and SQL Server-compatible CLR wrapper. My approach will start with designing FF1 as the primary production algorithm, with FF3-1 handled carefully as an optional compatibility mode. I will build deterministic, reversible tokenization that preserves the original length, format, and allowed character set of each PII field. The SQL CLR scalar UDF will expose encryption/decryption functions for direct use inside MS SQL Server. For high-volume processing, I will add batch-oriented SQL scripts and benchmark logic to measure 1M-row tokenization performance. I will include unit tests, round-trip verification tests, and sample demo scripts to confirm encryption and decryption correctness. The 40-second performance target will be treated as a measured benchmark gate and optimized based on the client’s actual hardware. My completion timeline will be within one week. My price is final. Thanks.
$350 USD in 5 days
4.7
4.7

Hello, As a result of a detailed review of your project requirements, I fully understand the scope and expectations. I have experience handling high-performance .NET, SQL Server, cryptography and database development projects, and I'm available to start your project right now. I bring deep expertise in C#, SQL Server CLR, cryptography, database development, parallel processing, performance optimization, software engineering and technical documentation. One of the key challenges in projects like this is implementing NIST-compliant FF1/FF3-1 format-preserving encryption while achieving the required throughput of 1M rows × 3 columns within the 40-second benchmark target. My approach would be to develop a fully managed SQL CLR assembly with a clean separation between the FF1/FF3-1 cryptographic core, SQL UDF layer, and future key-provider interface. The architecture will support EXTERNAL_ACCESS, static in-memory key caching, and future REST-based key retrieval without changes to the encryption engine or batch-processing logic. I have a couple of quick questions. • What character sets must be supported initially (numeric, alphanumeric, email addresses, custom alphabets, etc.)? • Is the ≤40-second benchmark expected on a specific server specification, or should I define and document the test environment? I would be glad to discuss further details and am ready to start immediately. Looking forward to hearing from you. Best regards, Carlos.
$250 USD in 15 days
4.3
4.3

Here is a concise, two-paragraph job proposal tailored to showcase your expertise in advanced database development and low-level data manipulation. Dear [Client Name or Hiring Team], I am highly interested in developing the High-Performance MS SQL Server CLR Format-Preserving Encryption (FPE) User-Defined Function (UDF) for your database. With a strong background in writing optimized C# assemblies for SQL Server and a deep understanding of cryptographic operations, I am well-equipped to deliver a solution that ensures both robust data security and maximum throughput. I understand that implementing FPE (such as AES-FFX modes) inside a database environment requires meticulous attention to memory management, minimized garbage collection overhead, and efficient data serialization. I will ensure the CLR assembly is compiled with SAFE or EXTERNAL_ACCESS permissions according to your exact security policy while utilizing native performance practices to handle high-concurrency workloads seamlessly. My development process prioritizes extreme efficiency, thorough testing, and seamless integration into your existing schema. I will write clean, well-documented C# code tailored to run efficiently within the SQL Server worker threads, ensuring the UDF maps correctly to your precise data types (such as VARCHAR or BIGINT) without breaking data formatting.
$250 USD in 7 days
4.5
4.5

Jakarta Selatan, Indonesia
Payment method verified
Member since Apr 23, 2014
$250-750 USD
$100 USD
$30-250 USD
$10-30 USD
$10-30 USD
$250-750 USD
$250-750 AUD
$1500-3000 USD
₹37500-75000 INR
$10-30 USD
€30-250 EUR
$30-250 USD
$250-750 USD
₹600-1500 INR
₹12500-37500 INR
$15-25 USD / hour
$30-250 USD
₹750-1250 INR / hour
₹1500-12500 INR
$250-750 USD
₹12500-37500 INR
$10-30 USD
₹12500-37500 INR
₹400-750 INR / hour
₹750-1250 INR / hour